Repository navigation
[skills] Sync cdn-caching with current docs - #472
Open
vercel-gh-bot-4[bot] wants to merge 1 commit into
Open
vercel-gh-bot-4[bot] wants to merge 1 commit into
vercel-gh-bot-4[bot] wants to merge 1 commit into
Conversation
<!-- vercel-plugin-drift-agent -->
This branch has not been deployed
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.
REVALIDATEDmeans "Foreground revalidation after a delete (orPragma: no-cache)". The current docs sayPragma: no-cache(for example, from open browser devtools) does not change CDN caching behavior: a stale response is still served and revalidated in the background. I removed thePragma: no-cacheclause from the row, so it now reads "Foreground revalidation after a delete". An agent working from the old row could blame aREVALIDATEDstatus on devtools instead of looking for a tag deletion. Source: https://vercel.com/docs/caching/cache-control-headers (last_updated 2026-09-14), which says: "Vercel's CDN doesn't change its caching behavior when a request includes". The purge page (https://vercel.com/docs/caching/cdn-cache/purge, last_updated 2026-09-03) tiesREVALIDATEDonly to deletion: "In request logs this appears as cache statusREVALIDATEDwith the reason Tag-based deletion."Verification
run_plugin_checkspassed every step: build (0 updated, 7 unchanged), typecheck, validate (PASSED, all checks OK), and test (1364 pass, 0 fail).Test updates
None.
Not changed
x-vercel-cache-reasonheader is internal-only and not visible viacurl": no public doc covers this header, so I could not confirm it.MISSwith reasondraft_mode/prerender_bypass/crawleris displayed asBYPASS": this is internal mapping detail that public docs don't describe. It is consistent with the "three map to BYPASS" wording on the cache-status page.vercel logs requestsaccess note ("needs Observability Plus or a Priority project"): CLI source (packages/cli/src/commands/logs/errors.ts) also lists the Enterprise Agents & Apps entitlement. The note is incomplete but not wrong, so I left it alone.Opened automatically by the vercel-plugin drift agent. Review before merge.