Files
Zack TannerandGitHub 2f052b16f6 fully remove clientSegmentCache flag (#85541)
Turning this flag off would have already caused client-side invariants
because we deleted all the old codepaths. This fully removes the
remaining plumbing that supported the flag.
2025-10-30 19:49:05 -07:00

21 lines
431 B
JavaScript

/**
* @type {import('next').NextConfig}
*/
const nextConfig = {
cacheComponents: true,
async rewrites() {
return [
{
source: '/rewrite-to-page-with-dynamic-head',
destination: '/page-with-dynamic-head',
},
{
source: '/rewrite-to-page-with-runtime-prefetchable-head',
destination: '/page-with-runtime-prefetchable-head',
},
]
},
}
module.exports = nextConfig