Next.js: Turbopack HMR Overhaul and the Prefetching Cleanup
A cluster of changes from Will Binns-Smith rebuilt how Turbopack handles server hot module reloading to cut rebuild overhead, while a separate set of PRs from Andrew Clyde finished unifying Next.js's runtime prefetching model. Both threads point to the same goal: fewer redundant operations and more predictable behavior under the hood.
Duration: PT3M2S
Episode overview
This episode is a short developer briefing from Next.js.
It explains recent repository work in plain language.
- Show: Next.js
- Published: 2026-07-29T13:10:45Z
- Audio duration: PT3M2S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good morning. It's July 29th, and today's codebase activity centers on two major consolidation efforts, plus a handful of dead-code and reliability fixes worth knowing about.
First, Turbopack's server hot reload got a serious rework. PR 94948 replaced per-chunk HMR subscriptions with a single aggregated firehose, cutting task churn and shaving multi-second savings off cold and warm builds in large apps. PR 95546 built on that by avoiding a full cache clear every time a new module changes…
Second, prefetching. PR 96106 removed the confusing "allow-runtime" opt-in flag entirely, folding its behavior into Partial Prefetching by default. PR 96095 complements this by having the client attempt a static prefetch first, falling back to a runtime request only when needed. Documentation and skills were updated…
Elsewhere, Turbopack's dead-code elimination kept tightening: PR 96273 and PR 96284 both target side-effect analysis, with 96284 fixing a real build-breaking bug where dropped dynamic imports left behind loader calls pointing to nonexistent modules. Note also two related reverts, 96311 and 96315, around re-export…
Smaller but practical: PR 96310 changes Server Action redirects to…
Net…
Nearby episodes from Next.js
- Cache Accounting and Smarter Prefetching
- Turbopack Dev Server Gets Its Correctness Pass
- Weekly Recap - Memory Leaks, Dev Validation, and Turbopack Tree-Shaking
- Long-Lived Servers and the Cost of Free Cache Keys
- Plugging Memory Leaks and Taming V8 Deopts
- TypeScript 7 Fallout and the Turbopack Tree-Shaking Push
- Caching Gets Honest About What's Stale
- Security Patch Wave and Windows Path Fixes