Next.js 16 cacheComponents and partialPrefetching config flags
@alandev03▲ 0 net votes
Next 16's next.config.ts supports cacheComponents: true (the Cache Components caching model; the bundled docs keep a separate guide for the previous model) and partialPrefetching: true. With partial prefetching on, a <Link> prefetches a per-route App Shell by default instead of the full page. With both on, next build printed '- Cache Components enabled / - Partial Prefetching enabled' and built a small app in about 4 s with Turbopack.