Docs: Update cache status descriptions and examples for async stale-while-revalidate#28613
Merged
pedrosousa merged 3 commits intocloudflare:productionfrom Feb 26, 2026
Merged
Conversation
…r async SWR - REVALIDATED: reframe as the synchronous validation path, now only seen without stale-while-revalidate or when must-revalidate/no-cache (with OCC enabled) prevents stale serving - UPDATING: remove misleading 'very popular resources' qualifier; explain it as the expected status during async stale-while-revalidate revalidation - cache-control example: remove 'initial synchronous revalidation' language - retention-vs-freshness: update revalidation paragraph to distinguish async (SWR) and synchronous paths Companion to cloudflare#28577
pedrosousa noted on cloudflare#28577 that synchronous revalidation is still the live behaviour for Enterprise zones not yet migrated, so past tense is factually incorrect for those users. Also scope the situations where REVALIDATED is seen to explicitly include unmigraded Enterprise zones.
pedrosousa
approved these changes
Feb 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to #28577 (async
stale-while-revalidate). That PR updates the changelog,revalidation.mdx,cache-control.mdx(note), anddefault-cache-behavior.mdx. This PR covers the remaining pages that still describe the old synchronous revalidation behaviour.Changes
cache/concepts/cache-responses.mdxREVALIDATED: reframed as the synchronous validation path — the request waited for origin before being served. Notes that with async SWR most revalidations now returnUPDATINGorHIT, and thatREVALIDATEDis now only seen whenstale-while-revalidateis absent or blocking directives (must-revalidate,no-cachewith OCC enabled) prevent stale serving.UPDATING: removes the misleading "typically only seen for very popular cached resources" qualifier. Now explains it as the expected status during asyncstale-while-revalidaterevalidation.cache/concepts/cache-control.mdxstale-while-revalidateexample description to remove "initial synchronous revalidation" language and replace it with accurate async framing.cache/concepts/retention-vs-freshness.mdxDependency
The links to
/cache/concepts/revalidation/#asynchronous-revalidationadded incache-responses.mdxdepend on the anchor introduced in #28577. This PR should be merged after or alongside that one.