Skip to content

docs(cloudflare): explain cached response entrypoint - #3154

Draft
james-elicx wants to merge 3 commits into
codex/cdn-v2-cache-tagsfrom
codex/cdn-v2-cloudflare-docs
Draft

docs(cloudflare): explain cached response entrypoint#3154
james-elicx wants to merge 3 commits into
codex/cdn-v2-cache-tagsfrom
codex/cdn-v2-cloudflare-docs

Conversation

@james-elicx

@james-elicx james-elicx commented Sep 2, 2026

Copy link
Copy Markdown
Member

Part 15 of 16 in the staged CDN adapter stack. Depends on #3158.

Summary

  • documents the generated uncached gateway and cache-enabled response entrypoint
  • removes the obsolete source-level cache.enabled setting from the Workers Cache example
  • explains transport-key isolation from zone Cache Rules and how to inspect cache behavior

Validation

  • workers-cache example production build
  • formatting and diff checks
  • cumulative exact-tip changed-test sweep: 3,461 passed, 2 skipped

Review size

  • Implementation: +6 / -3 LOC
  • Tests and fixtures: +0 / -0 LOC
  • Other (docs, config, lockfile): +79 / -84 LOC
  • 7 changed files

Measured against codex/cdn-v2-cache-tags after rebasing onto main@a6931c0.

@pkg-pr-new

pkg-pr-new Bot commented Sep 2, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@vinext/cloudflare@3154
npm i https://pkg.pr.new/create-vinext-app@3154
npm i https://pkg.pr.new/@vinext/types@3154
npm i https://pkg.pr.new/vinext@3154

commit: 8f09eb5

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor
Example Preview Production Original
app-router-cloudflare preview production
pages-router-cloudflare preview production
app-router-playground preview production original
realworld-api-rest preview production
nextra-docs-template preview production
benchmarks preview production
hackernews preview production original
workers-cache preview production
static-export preview production
web preview production

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Performance benchmarks

Compared 8f09eb5 against base f141e84 using alternating same-runner rounds. Next.js was unchanged and skipped.

0 improved · 0 regressed · 6 within ±1.5%

Scenario Framework Baseline Current Change
Client bundle size (gzip) vinext 142.4 KB 142.4 KB ⚫ +0.0%
Client entry size (gzip) vinext 129.6 KB 129.6 KB ⚫ 0.0%
Dev server cold start vinext 3.40 s 3.38 s ⚫ -0.7%
Production build time vinext 3.64 s 3.62 s ⚫ -0.8%
RSC entry closure size (gzip) vinext 125.5 KB 125.5 KB ⚫ +0.0%
Server bundle size (gzip) vinext 216.2 KB 216.2 KB ⚫ +0.0%

View detailed results and traces

🟢 improvement · 🔴 regression · ⚫ change below 1.5% · paired base/head

@james-elicx
james-elicx force-pushed the codex/cdn-v2-cloudflare-docs branch 2 times, most recently from 5ecc36a to ce60bcc Compare September 2, 2026 12:47
@james-elicx
james-elicx changed the base branch from codex/cdn-v2-cloudflare-prewarm to codex/cdn-v2-cache-tags September 2, 2026 12:48
@james-elicx
james-elicx force-pushed the codex/cdn-v2-cloudflare-docs branch from ce60bcc to 2131f13 Compare September 2, 2026 13:41
@james-elicx
james-elicx force-pushed the codex/cdn-v2-cloudflare-docs branch from 2131f13 to 5bf2bb8 Compare September 2, 2026 14:16
@james-elicx
james-elicx force-pushed the codex/cdn-v2-cloudflare-docs branch from 5bf2bb8 to 9968205 Compare September 2, 2026 15:11
@james-elicx
james-elicx force-pushed the codex/cdn-v2-cloudflare-docs branch 2 times, most recently from f787114 to a2a3627 Compare September 2, 2026 15:27
@james-elicx
james-elicx force-pushed the codex/cdn-v2-cloudflare-docs branch from a2a3627 to 0a2432a Compare September 2, 2026 15:37
@james-elicx
james-elicx force-pushed the codex/cdn-v2-cloudflare-docs branch from 0a2432a to c2163c3 Compare September 2, 2026 15:41
@james-elicx
james-elicx force-pushed the codex/cdn-v2-cloudflare-docs branch from c2163c3 to 9fafaaf Compare September 2, 2026 16:26
@james-elicx
james-elicx force-pushed the codex/cdn-v2-cloudflare-docs branch from 9fafaaf to 5aceaad Compare September 2, 2026 16:32
@james-elicx
james-elicx force-pushed the codex/cdn-v2-cloudflare-docs branch from 5aceaad to 458c1c2 Compare September 2, 2026 16:37
@james-elicx
james-elicx force-pushed the codex/cdn-v2-cloudflare-docs branch from 458c1c2 to e0baa4d Compare September 2, 2026 16:46
@james-elicx
james-elicx force-pushed the codex/cdn-v2-cloudflare-docs branch from e0baa4d to 1dae275 Compare September 2, 2026 17:13
@james-elicx
james-elicx force-pushed the codex/cdn-v2-cloudflare-docs branch from 1dae275 to 3b6915a Compare September 2, 2026 18:47
@james-elicx
james-elicx force-pushed the codex/cdn-v2-cloudflare-docs branch from 3b6915a to 7a95f69 Compare September 2, 2026 18:57
@james-elicx
james-elicx force-pushed the codex/cdn-v2-cloudflare-docs branch from 7a95f69 to 785b83d Compare September 2, 2026 19:09
@james-elicx
james-elicx force-pushed the codex/cdn-v2-cloudflare-docs branch from 785b83d to 5c75b6b Compare September 7, 2026 09:22
@james-elicx
james-elicx force-pushed the codex/cdn-v2-cloudflare-docs branch from 5c75b6b to 8f09eb5 Compare September 7, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant