Files
Andrew Clark b882af0899 Add Cache Components option to create-next-app (#97695)
When initializing a new project with create-next-app, the interactive
prompt will now ask the user if they want to enable Cache Components.

For now the option defaults to off. We'll flip the default back on once
there's a flow that guides users to the right recommendation based on
the kind of site they're building. The option can still be enabled
interactively, or with the `--cache-components` flag.

If the user chooses to enable Cache Components, the project will also be
initialized with Partial Prefetching enabled. There's no separate prompt
for Partial Prefetching; the only reason they are separate configs is
because Cache Components shipped in 16.0 before Partial Prefetching
existed.

This is not a breaking change because it does not change any behavior in
Next.js itself, only the create-next-app CLI. It has no impact on any
existing Next.js projects.
2026-08-27 17:44:31 -04:00
..
…
…