Cache Components: support `unstable_ensureStatic = "navigation"`
Author: ask-bonk[bot]Created Sep 29, 2026Updated Sep 29, 2026
Labelsnextjs-tracking
Next.js Change
What changed
Next.js adds unstable_ensureStatic = 'navigation' for Cache Components. Routes using it must be fully static for both prefetching and navigation: uncached/runtime data is rejected even behind Suspense, and dynamic params must be supplied by generateStaticParams. Non-prerendered params are generated through blocking prerenders rather than fallback shells. Client-only IO remains allowed because it does not require a server resume render.
Impact on vinext
vinext must recognize this segment config and enforce its stricter App Router prerender and navigation guarantees. Without it, a route that claims navigation-time static behavior can serve fallback/resume work or accept server dynamic data that Next.js rejects.
Acceptance criteria
- Recognize
unstable_ensureStatic = 'navigation'in App Router segments. - Reject uncached or runtime server data during dev and production prerendering, including when hidden behind Suspense.
- Require dynamic params to be covered by
generateStaticParams; do not serve fallback shells for missing params. - Generate missing eligible params with a blocking prerender.
- Preserve client-only IO behavior that does not require a server resume render.
- Add dev and production coverage for static params, uncached data, runtime data, and client-only IO.
Related
- #3011 -
unstable_navigation()render-stage boundary - #3058 -
unstable_prefetch()render-stage boundary - vercel/next.js#99171 - upstream implementation
Source: cloudflare/vinext