Disable Website Cache

Support Wissensdatenbank

Du bist hier:
Print

If your web application does not offer cache settings in the settings, you can deactivate the cache for your web page with a .htaccess file. To do so, create a .htaccess file in the root folder of your website via FTP or the FileManager or add the following value to the existing .htaccess file to deactivate the cache permanently and to inform all browsers about it:

[code lang=”php”]
# DISABLE CACHING
<IfModule mod_headers.c>
Header set Cache-Control "no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires 0
</IfModule>
[/code]

War dieser Artikel hilfreich?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
Wie können wir diesen Artikel verbessern?
Please submit the reason for your vote so that we can improve the article.
Brauchst du Hilfe?
Related Post