CentrioHost 24/7 Live Support

 

Disable leverage browser caching with .htaccess guideline

If you want to disable leverage browser caching with .htaccess and want people to see updated contents with your static page instantly, try to add the following lines in your .htaccess file:

 

<IfModule mod_expires.c>

ExpiresActive Off

</IfModule>

 

<IfModule mod_headers.c>

Header set Cache-Control "no-cache, no-store, must-revalidate"

Header set Pragma "no-cache"

Header set Expires 0

</IfModule>

Add to Favourites  Add to Favourites    Print this Article  Print this Article

Was this answer helpful?


Hosting Partners
Wildcard SSL Certificates