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>

  • 6 Users Found This Useful
Was this answer helpful?

Related Articles

Unable to browse my domain name after order!

The Problem We have seen this problem rarely with some of our customers. They CAN browse their...

How to flush your DNS cache?

If you are coming to Hostseoit from another hosting company, you may be required to clear your...

How to use Jetpack / WP Super Cache with WordPress?

Hostsite24 servers block remote connection to xmlrpc.php or, wp-cron.php for security reason....