Browser-Caching mit Meta-HTML-Tags deaktivieren
Via <meta>
Tag in der <head>
Sektion. Erspart etwas F5 Bashing…
1
2
3
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
Via .htaccess
.
1
2
3
4
5
<IfModule mod_headers.c>
Header set Cache-Control "no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires 0
</IfModule>