How to Read CF-Cache-Status During a Cache Incident
During a cache incident, capture the exact URL and response headers before purging anything. A stale storefront body can come from several caches with different owners.
Procedure
- Use repeatable requests. Load the same public URL in a clean session and capture the response status, Age, Cache-Control and CF-Cache-Status. Compare anonymous and authorized responses without exposing session headers.
- Read the cache result. HIT and MISS describe whether the edge served a stored entry. DYNAMIC or BYPASS suggests another cache rule or header path. Verify the intended rule for the URL and request state.
- Check the source. Compare a supported origin preview and application logs for the exact response variation. Avoid treating a forced cache miss as proof ordinary visitors get the new version.
- Retest after a narrow fix. Change only the responsible rule or purge scoped URLs. Verify refreshed public content and confirm account, cart and checkout routes remain isolated.
If the site runs WooCommerce, audit WooCommerce cart and account cache isolation to confirm personalized responses cannot be shared between sessions.
Related guides
- How Browser Caching Improves Website Performance
- How to Diagnose Stale Content and HTTP 304 Responses
- SEO and Website Performance articles
Official references
Ferkesh Hosting. Last reviewed .
Ця стаття була корисною?
Спасибі за відгук!