mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[GH-ISSUE #860] Track experimental.prefetchInlining default flipped to true in Next.js #189
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#189
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @github-actions[bot] on GitHub (Apr 17, 2026).
Original GitHub issue: https://github.com/cloudflare/vinext/issues/860
Next.js Change
Commit:
b301d3cPR: #92863 — Enable prefetchInlining by default
Next.js flipped
experimental.prefetchInliningfromfalsetotrueinconfig-shared.ts. This is the first step toward removing the flag entirely.What changed
The
prefetchInliningfeature (part of the segment cache work) changes how the App Router client prefetches and caches route segments. Instead of fetching full RSC payloads on navigation, the router inlines prefetched segment data into the initial response, reducing round-trips during client-side navigation.The config change is a single line:
Several tests that were explicitly setting
prefetchInlining: truehad that line removed (now matches default). Tests not yet compatible were opted out withprefetchInlining: false.Impact on vinext
vinext should:
prefetchInliningdefaults totrue(or equivalent) in vinext's config layer, if this config option is surfaced.next/navigationand handles client-side routing, any prefetch inlining protocol changes need to be reflected in vinext's client runtime.This is a default-change, not a new API, so existing vinext apps won't break immediately. But as Next.js moves toward removing the flag entirely, vinext should plan to support this behavior.