Skip to content

fix(cloudflare): replace deploy prerendering with prewarming - #3340

Open
james-elicx wants to merge 2 commits into
mainfrom
codex/cloudflare-discourage-prerender
Open

james-elicx wants to merge 2 commits into
mainfrom
codex/cloudflare-discourage-prerender

Conversation

@james-elicx

Copy link
Copy Markdown
Member

Summary

  • stop local prerendering and direct KV bulk uploads during Cloudflare Worker deploys
  • direct prerender users to the staged Worker CDN pre-warming path while preserving output: export
  • remove prerender generation and prompting from Cloudflare init while keeping Node init support and preserving existing user config

Builds on the deployed KV pre-warming support from #3324.

Validation

  • vp test run tests/deploy-prerender-config.test.ts tests/deploy.test.ts tests/init-platform.test.ts tests/init.test.ts tests/init-cloudflare.test.ts (577 passed)
  • vp check on all changed source and test files
  • vp run vinext#build
  • vp run @vinext/cloudflare#build
  • vp run knip
  • git diff --check

@pkg-pr-new

pkg-pr-new Bot commented Sep 20, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@vinext/cloudflare

npm i https://pkg.pr.new/@vinext/cloudflare@3340

create-vinext-app

npm i https://pkg.pr.new/create-vinext-app@3340

@vinext/types

npm i https://pkg.pr.new/@vinext/types@3340

vinext

npm i https://pkg.pr.new/vinext@3340

@cloudflare/workers-response-store

npm i https://pkg.pr.new/@cloudflare/workers-response-store@3340

commit: f2e063e

@github-actions

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
response-store-demo preview production
workers-cache preview production
kv preview production
static-export preview production
web preview production

@github-actions

github-actions Bot commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

Performance benchmarks

Compared f2e063e against base 1979d9c 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.3 KB 142.3 KB ⚫ -0.0%
Client entry size (gzip) vinext 130.4 KB 130.4 KB ⚫ -0.0%
Dev server cold start vinext 3.34 s 3.30 s ⚫ -1.3%
Production build time vinext 3.91 s 3.90 s ⚫ -0.3%
RSC entry closure size (gzip) vinext 128.2 KB 128.2 KB ⚫ -0.0%
Server bundle size (gzip) vinext 226.8 KB 226.8 KB ⚫ -0.0%

View detailed results and traces

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

@james-elicx
james-elicx added this pull request to stack #3404 September 23, 2026 08:53
@james-elicx
james-elicx removed this pull request from stack #3404 September 23, 2026 10:14
@james-elicx
james-elicx added this pull request to stack #3406 September 23, 2026 10:14
@james-elicx
james-elicx removed this pull request from stack #3406 September 23, 2026 10:15
@james-elicx
james-elicx added this pull request to stack #3407 September 23, 2026 10:15
@james-elicx
james-elicx removed this pull request from stack #3407 September 23, 2026 10:23
@james-elicx
james-elicx added this pull request to stack #3408 September 23, 2026 10:25
@james-elicx
james-elicx force-pushed the codex/cloudflare-discourage-prerender branch from 92e4956 to 60b5c2f Compare September 23, 2026 12:38
@james-elicx
james-elicx marked this pull request as ready for review September 24, 2026 23:26
@james-elicx
james-elicx force-pushed the codex/cloudflare-discourage-prerender branch from 60b5c2f to 46aa64d Compare September 24, 2026 23:58
@james-elicx
james-elicx force-pushed the codex/cloudflare-discourage-prerender branch from 46aa64d to e6059e6 Compare September 27, 2026 00:48
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