my website’s browser cache TTL was set to 1 year on Cloudflare, this was set by WP rocket.
my website returning visitors have an old cache stored locally and now some of my website doesn’t work unless the visitor clear the local browser cache.
how can I tell the visitor browser to ignore the local cache or update the cache or delete.
thanks
Don’t use Browser Cache for HTML.
May I ask you to check out what option have you got selected by navigating to the Cloudflare dashboard → Caching → Configuration → find section “Browser Cache TTL” and make sure the selected option from the dropdown menu is “Respect Existing Headers”.
Furthermore, from the same menu, click on the blue button saying “Purge Everything” to flush the cache at Cloudflare Edge, just in case.
Wait for a minute or two.
Refresh a page in your Web browser, otherwise try clearing your Web browser cache or use a different Web browser to test out again.
Make sure to configure it to the lower value like 5-10mins, since Cloudflare Browser Cache TTL would respect it → following the instructions from above.
“Furthermore, from the same menu, click on the blue button saying “Purge Everything” to flush the cache at Cloudflare Edge, just in case.”
I did that already. the issue still stands, which is, I have download buttons that will not work unless I manually cleared phone browser cache (only on phones this issue).
May I ask if you could post and share your the URL of the example in bracketed dot [.] notation here with us so we could double-check, troubleshoot and provide some feedback information?
Just to add a note, I remember there were topics about WP Rocket + Cloudflare, therefore I suggest you to look up at the below articles in that terms just in case if you’d have some issue later - but you might not have or experience them. Some do, so I’d just like to share them below in case if happens in future: