Cached pages not loading fully - different behavior different browsers?
Using Cache rules to cache everything and appears to be working as expected, however there are reports of different behavior with partially loading pages depending on the browser, or sometimes whether incognito is being used. Considering some of these browsers may be at different versions, is there anything on the cloudflare / cache settings side that would give different behavior based on browser support? Are there some cache features I should be using to help with compatibility?
4 Replies
Only thing that comes to mind that may be different is Cloudflare automagically replaces polyfill.io links with their own CDNs: https://blog.cloudflare.com/automatically-replacing-polyfill-io-links-with-cloudflares-mirror-for-a-safer-internet/. You would have to actually be using polyfill.io though on your website.
Your origin could also be responding differently to different user agents w/ different polyfills, which would stop now due to caching, but haven't heard of that much.
Otherwise I'd recommend trying to get more info about the browsers/seeing if it's really cache or not, or maybe just some client-side js issue
The Cloudflare Blog
Automatically replacing polyfill.io links with Cloudflare’s mirror ...
polyfill.io, a popular JavaScript library service, can no longer be trusted and should be removed from websites
Thanks! I could not reproduce it and it seems to be cleared up now. Site is IIS/sharepoint
One thing I found was our browser cache ttl was set to 5 minutes (cache everything rule is set to 30m, was 10m). I see an option to Respect Existing Headers that sounds like it may be useful so the cache can control what the local browser cache does also then I presume?
Is there a way to have server timeouts not affect cache updates? Error code 524