Next.js 16.5 lands with dramatically faster Turbopack builds and experimental Go support
by Paul

Next.js 16.5 lands with dramatically faster Turbopack builds and experimental Go support

Vercel's Next.js team has released version 16.5 of the popular React framework, headlined by major performance gains in production builds. According to the official announcement, incremental compile times on a cold cache are roughly 4.2× faster than in 16.4.6, and about 2.7× faster on a warm cache, with full cold production builds cut roughly in half. Turbopack, the Rust-based bundler, has also been tuned for resource efficiency: peak compile memory dropped by as much as 38% with a cold cache, and disk cache footprints shrank by up to 23% across the five Vercel applications benchmarked, including nextjs.org. The team notes the cold-start speedups are particularly beneficial for AI coding agents, which typically work from fresh checkouts.

The release also tackles a common pain point for continuously deployed apps: wasted cache revalidation. Previously, any redeploy, even one touching an unrelated page, forced cached functions such as database queries marked with use cache: remote to re-execute from scratch. In 16.5, Turbopack derives cache keys from the function itself, its code dependencies, and the environment values it reads, allowing unchanged remote caches to carry over across deployments. On the developer-experience side, bundle analysis gets a new next build --analyze flag that produces reports during normal production builds, eliminating a second compilation pass and guaranteeing the report matches the deployed output exactly, while a new next upgrade --ci command can wire a scheduled GitHub Actions workflow where a coding agent (Codex or Claude Code) automatically opens pull requests to upgrade the app.

Rounding out the highlights are refinements to partial prefetching, an opt-in safe mode for image optimization using memory-safe decoders and Linux seccomp sandboxing, and an experimental feature that lets developers write native route handlers in Go: placing a route.go file alongside TypeScript routes causes Turbopack to compile it into a native executable served at that path. Developers can adopt the new prefetch option `` to aggressively pre-fetch deferred content for links users are highly likely to follow. The update is available now via next@latest, and the team encourages users to try it with coding agents or upgrade directly.

Paul
Written by Paul
Follow
Add as a preferred source on Google
Next.js iconNext.js
  24
  • ...

Next.js is a Static Site Generator that offers an optimal developer experience with features designed for production environments, including hybrid static and server rendering, TypeScript support, smart bundling, and route pre-fetching, all without requiring configuration. It is built on React and supports Progressive Web App development and server-side rendering. Next.js is rated 5 and serves as a robust solution for modern web applications.

No comments so far, maybe you want to be first?