Next.js 16.4 Pushes Cache Components as Default Ahead of Next.js 17
With the Next.js 16.4 release in October 2026, the team began recommending Cache Components for all apps, and new projects created with create-next-app now have it enabled. The release notes say it will become the default in Next.js 17, leaving existing App Router developers to migrate gradually or under pressure during a major upgrade. The migration guide outlines enabling the cacheComponents option, running a codemod that defers validation on every route, and converting routes one at a time. Under the new model, nothing is cached unless marked with the 'use cache' directive, replacing the older route-level settings. The guide also advises upgrading to Next.js 16 and installing version 16.4.5 or later, which includes fixes for cache-disclosure bugs.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in