Unverified Commit 52ae69ac authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Rename spr config to ISR (#27379)

parent 5dc5a3fb
......@@ -79,7 +79,7 @@ export type NextConfig = { [key: string]: any } & {
cpus?: number
plugins?: boolean
profiling?: boolean
sprFlushToDisk?: boolean
isrFlushToDisk?: boolean
reactMode?: 'legacy' | 'concurrent' | 'blocking'
workerThreads?: boolean
pageEnv?: boolean
......@@ -152,7 +152,7 @@ export const defaultConfig: NextConfig = {
),
plugins: false,
profiling: false,
sprFlushToDisk: true,
isrFlushToDisk: true,
workerThreads: false,
pageEnv: false,
optimizeImages: false,
......
......@@ -277,7 +277,7 @@ export default class Server {
),
locales: this.nextConfig.i18n?.locales,
max: this.nextConfig.experimental.isrMemoryCacheSize,
flushToDisk: !minimalMode && this.nextConfig.experimental.sprFlushToDisk,
flushToDisk: !minimalMode && this.nextConfig.experimental.isrFlushToDisk,
})
this.responseCache = new ResponseCache(this.incrementalCache)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment