mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
As part of stabilizing `cacheComponents`, `cacheLife` profiles should also be accessible from a top-level config. This updates the configuration, adds the warning, and updates relevant docs.
11 lines
147 B
JavaScript
11 lines
147 B
JavaScript
const nextConfig = {
|
|
cacheLife: {
|
|
expireNow: {
|
|
stale: 0,
|
|
expire: 0,
|
|
revalidate: 0,
|
|
},
|
|
},
|
|
}
|
|
export default nextConfig
|