Next.js: Cutting the Route Table Down to Size

A multi-PR stack from Hendrik Liebau collapsed redundant routes that adapters receive from Next.js builds, cutting route counts by up to 95 percent on a large test app, while a separate wave of PRs trimmed binary size in Turbopack's native code.

Duration: PT2M49S

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-08-24T13:10:58Z
  • Audio duration: PT2M49S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

It's August 24th, and today's activity centers on one theme: making Next.js builds leaner, both in the routes they hand off to adapters and in the code they ship.

The biggest story is a stacked series of pull requests from Hendrik Liebau, working with the deployment adapter route table. Dynamic app pages have been generating redundant entries — separate routes for RSC payloads, per-segment prefetches, and each fallback shell combination. PR 97720 removed a duplicate route for…

The second theme is binary size work in Turbopack's Rust code, led by Tobias Koppers and Luke Sandberg. PR 97767 split TurboMalloc's accounting paths so only the rare cold paths go out of line, trimming machine code without slowing down common allocations. PR 97763 collapsed over thirteen hundred duplicate compiled…

Smaller but notable: PR 97788 stops wasm builds from pulling in SWC's plugin runner, since it can't run there anyway. And PR 97780 and 97783 backport a fix removing generated error codes to reduce backport friction on older release branches.

What to remember: if you write adapter integrations, expect route tables to shrink once collapsing turns on by default. And expect continued native binary size…

T…

Nearby episodes from Next.js

  1. WebAssembly Cleanup and Cache Correctness Fixes
  2. Weekly Recap - Slimming Down the Build Output and the Dev Server
  3. Tightening Up Static Rendering Edges
  4. Partial Prefetching Precedence Gets Cleaned Up
  5. Module Federation Lands in Turbopack, Partial Prefetching Gains New APIs
  6. Cleaning Up Test Debt and Prefetch Bugs
  7. Development Caching Comes Full Circle
  8. Development Caching Gets a Rethink