Hey all, set up Cloudfare last night. My WAF rules seem to be working and nothing is slowing, but the caching is not working correctly.
I enabled the cache everything rule.
When I inspect the response headers with the rule turned on, I get Cf-Cache-Status: REVALIDATED.
When I turn the rule off, I get Cf-Cache-Status: DYNAMIC.
My understanding is that dynamic means Cloudfare does not consider the asset eligible to cache and settings do not instruct Cloudflare to cache the asset. Instead, it’s being requested from the origin. So this makes sense if the cache rule is off.
When I enable the cache everything rule, I understand the revalidated status means the resource serves from the cache but it’s stale- why is it stale? Is there an additional page or cache rule I can try enabling? I feel like I’m missing something.
Edit: I toggled the rule on and off and refreshed and started receiving Cf-Cache-Status: HIT, when I tried clearing my history and refreshed I receive Cf-Cache-status: REVALIDATED.
[ad_2]
Maybe u/bluesix might have an answer? Sorry to bother again Blue 🙁