Cache preventing users from seeing updates

On my website users keep getting prevented from seeing updates. Clearing browser cache seems to fix it so clearly the site is getting cached and viewers are seeing a cached version. Does anyone know how to fix this?

This should disable the cache on everything
put this in .htaccess file inside of your htdocs

 # no cache 
 <IfModule mod_headers.c>
 Header set Cache-Control "no-cache, no-store, must-revalidate"
 Header set Expires 0

NOTE that http/s requests to your website will grow rapidly


If you’re willing could you explain what exactly that does. I like to understand stuff before I use it.

Pls read…

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.