On my website lavidacraft.42web.io 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
</IfModule>
NOTE that http/s requests to your website will grow rapidly
3 Likes
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.