Next.js introduces Cache Components, a new opt-in caching system powered by the use cache directive.
It offers explicit control over component, page, and function caching—finishing the transition toward Partial Prerendering.
Enable it:
export default {cacheComponents: true,};
A new AI-assisted debugging experience using the Model Context Protocol. DevTools now gives AI agents:
Ideal for accelerating troubleshooting.
proxy.ts Replaces middleware.tsNext.js 16 introduces proxy.ts to clarify the network boundary and standardize request interception on the Node.js runtime.
export default function proxy(request) {return NextResponse.redirect(new URL('/home', request.url));}
Turbopack is fully stable and the default bundler for all apps.
Performance gains:
Filesystem caching for development is also available in beta.
Three new or improved APIs make cache control clearer:
revalidateTag(tag, profile) — explicit stale-while-revalidate behaviorupdateTag() — instant read-your-writes for Server Actionsrefresh() — refresh uncached data after mutationsNavigation is significantly faster due to:
Less data transferred, smoother transitions.