software-mariodiana
10/19/2014 - 12:41 AM

Disable caching for HTML pages across all browsers (supposedly).

Disable caching for HTML pages across all browsers (supposedly).

<html>
    <head>
        <!-- http://stackoverflow.com/a/1341133 -->
        <meta http-equiv="cache-control" content="max-age=0" />
        <meta http-equiv="cache-control" content="no-cache" />
        <meta http-equiv="expires" content="0" />
        <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
        <meta http-equiv="pragma" content="no-cache" />
        
        <title>No cache</title>
    </head>
    <body>
        <p>This page should not be cached, according to its meta tags.</p>
    </body>
</html>