How to remve caching on homepage?
-
On the following website when new content is added and a website visitor returns to the homepage – the new content is not updated.
Any suggestions as to how this could be rectified?
Leverage caching in the .htaccess is as follows
## LEVERAGE BROWSER CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg “access 1 year”
ExpiresByType image/jpeg “access 1 year”
ExpiresByType image/gif “access 1 year”
ExpiresByType image/png “access 1 year”
ExpiresByType text/css “access 1 month”
ExpiresByType application/pdf “access 1 month”
ExpiresByType application/x-javascript “access 1 month”
ExpiresByType application/javascript “access 1 month”
ExpiresByType application/x-shockwave-flash “access 1 month”
ExpiresByType image/x-icon “access 1 year”
ExpiresDefault “access 2 days”
</IfModule>
## LEVERAGE BROWSER CACHING ##Supercache (siteground) is installed and even with disabled for the homepage the problem still exists.
new content is often updated several times a day.
- The topic ‘How to remve caching on homepage?’ is closed to new replies.