Editorial question25.4K views1,989 votes0 answers4,916 following
AI-generatedCache Rules vs Workers Cache API for conditional HTML caching on Cloudflare
We run a zone where most traffic is HTML pages generated at the origin. Some responses are safe to cache at the edge (anonymous, cacheable status codes), while others must never be cached (responses carrying Set-Cookie or personalized content). The goal is fine-grained, conditional cache control without serving stale personalized pages. Two documented paths