<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
Type |
---|
These META elements ensure that the page is not cached.
The META element is placed inside the HEAD element.
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
Attribute | Value | Explanation |
---|---|---|
http-equiv=" " | Pragma | for the browser in accordance with HTTP/1.0 |
Cache-Control | for the browser in accordance with HTTP/1.1 | |
content=" " | no-cache | the page is not cached |
Also see "expiration date of the document".
Example
<html>
<head>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<title>TAG index</title>
</head>
<body>
</body>
</html>
<html>
<head>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="0">
<title>TAG index</title>
</head>
<body>
</body>
</html>