docs: preserve static routes during Cache Components adoption by aurorascharff · Pull Request #98275 · vercel/next.js · GitHub
Skip to content

docs: preserve static routes during Cache Components adoption - #98275

Draft
aurorascharff wants to merge 1 commit into
canaryfrom
codex/cache-components-static-contract
Draft

docs: preserve static routes during Cache Components adoption#98275
aurorascharff wants to merge 1 commit into
canaryfrom
codex/cache-components-static-contract

Conversation

@aurorascharff

@aurorascharff aurorascharff commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Clarify that existing fetch and unstable_cache caching can remain in place during Cache Components adoption.
  • Preserve routes that previously used dynamic = 'force-static' or dynamic = 'error' instead of leaving them under instant = false, which can move rendering to request time and reduce prefetched UI.
  • Update the adoption skill to prioritize those routes in the first migration PR and verify that they still prerender.
  • Extend the existing Cache Components adoption eval with static-route contracts and independent cache lifetimes.

Eval results

The updated agent-047-adopt-cache-components eval was attempted with Claude Opus 4.8:

Treatment Result
Baseline Blocked before agent execution
Guide Blocked before agent execution
Adoption skill Blocked before agent execution

The local runner could not obtain Vercel OIDC credentials. These were infrastructure failures, so no eval criteria ran and no pass rates were produced.

Verification

  • pnpm --filter=next build
  • Prettier check for all changed Guide, skill, and eval files
  • git diff --check origin/canary...HEAD

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

@aurorascharff aurorascharff changed the title Codex/cache components static contract docs: improve Cache Components migration and static shell optimization Sep 4, 2026
@aurorascharff
aurorascharff force-pushed the codex/cache-components-static-contract branch from a900545 to 7105e44 Compare September 4, 2026 20:34
@aurorascharff aurorascharff changed the title docs: improve Cache Components migration and static shell optimization docs: preserve static routes during Cache Components adoption Sep 4, 2026
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