I am using Cloudflare Pages to host my website. One day, after making a major update to the framework I’m using, I noticed that accessing the site resulted in unstable behavior where different content (old content) was being displayed.
The domain is managed by Cloudflare, and it is set to DNS Only mode.
I initially had Cache-Control set to public but changed it to no-cache. This change was reflected immediately. However, cf-cache-status remains HIT. I haven’t set any special rules for the cache.
When Cache-Control was set to public, cf-cache-status was DYNAMIC. However, the content remained outdated.
Also, with the *.pages.dev provided by Cloudflare Pages by default, I do not experience such issues, and I always get the latest content.
Thank you for your response. From the access logs I’ve reviewed, it seems that what you’ve obtained is likely the latest version of the content.
Upon multiple reloads, it shows unstable behavior where sometimes the latest content is retrieved, and other times outdated content is retrieved. Here is the result from my Network tab:
I’ve cleared the cache for the entire site for all periods.