mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Moves this flag out of experimental so that custom `use cache` handlers can be configured alongside the cache components release.
14 lines
216 B
JavaScript
14 lines
216 B
JavaScript
/**
|
|
* @type {import('next').NextConfig}
|
|
*/
|
|
const nextConfig = {
|
|
experimental: {
|
|
useCache: true,
|
|
},
|
|
cacheHandlers: {
|
|
default: require.resolve('./cache-handler.js'),
|
|
},
|
|
}
|
|
|
|
module.exports = nextConfig
|