Home
/
Website Help
/
SuperCacher
/
How to disable the dynamic caching on my website

How to disable the dynamic caching on my website

For WordPress users, we recommend managing the SuperCacher options, including disabling the Dynamic cache through the SG Optimizer plugin.

If you are not using WordPress and would like to disable the dynamic cache for your website then you can do that by adding the following line in your website’s .htaccess file:

<IfModule mod_headers.c>
Header set Cache-Control "max-age=0,no-store"
</IfModule>

This will deactivate the dynamic caching for your entire website. To reenable the service delete the line from the .htaccess file.

To edit the .htaccess file you can use the File Manager in Site Tools or an FTP client.

Important! Once you save the changes to the .htaccess file you need to purge the Dynamic cache only once from Site Tools -> Speed -> Caching -> Dynamic Cache -> Flush Cache.

Share This Article