Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
52ae69ac
Unverified
Commit
52ae69ac
authored
Jul 22, 2021
by
JJ Kasper
Committed by
GitHub
Jul 22, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename spr config to ISR (#27379)
parent
5dc5a3fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
config-shared.ts
packages/next/server/config-shared.ts
+2
-2
next-server.ts
packages/next/server/next-server.ts
+1
-1
No files found.
packages/next/server/config-shared.ts
View file @
52ae69ac
...
@@ -79,7 +79,7 @@ export type NextConfig = { [key: string]: any } & {
...
@@ -79,7 +79,7 @@ export type NextConfig = { [key: string]: any } & {
cpus
?:
number
cpus
?:
number
plugins
?:
boolean
plugins
?:
boolean
profiling
?:
boolean
profiling
?:
boolean
sp
rFlushToDisk
?:
boolean
is
rFlushToDisk
?:
boolean
reactMode
?:
'legacy'
|
'concurrent'
|
'blocking'
reactMode
?:
'legacy'
|
'concurrent'
|
'blocking'
workerThreads
?:
boolean
workerThreads
?:
boolean
pageEnv
?:
boolean
pageEnv
?:
boolean
...
@@ -152,7 +152,7 @@ export const defaultConfig: NextConfig = {
...
@@ -152,7 +152,7 @@ export const defaultConfig: NextConfig = {
),
),
plugins
:
false
,
plugins
:
false
,
profiling
:
false
,
profiling
:
false
,
sp
rFlushToDisk
:
true
,
is
rFlushToDisk
:
true
,
workerThreads
:
false
,
workerThreads
:
false
,
pageEnv
:
false
,
pageEnv
:
false
,
optimizeImages
:
false
,
optimizeImages
:
false
,
...
...
packages/next/server/next-server.ts
View file @
52ae69ac
...
@@ -277,7 +277,7 @@ export default class Server {
...
@@ -277,7 +277,7 @@ export default class Server {
),
),
locales
:
this
.
nextConfig
.
i18n
?.
locales
,
locales
:
this
.
nextConfig
.
i18n
?.
locales
,
max
:
this
.
nextConfig
.
experimental
.
isrMemoryCacheSize
,
max
:
this
.
nextConfig
.
experimental
.
isrMemoryCacheSize
,
flushToDisk
:
!
minimalMode
&&
this
.
nextConfig
.
experimental
.
sp
rFlushToDisk
,
flushToDisk
:
!
minimalMode
&&
this
.
nextConfig
.
experimental
.
is
rFlushToDisk
,
})
})
this
.
responseCache
=
new
ResponseCache
(
this
.
incrementalCache
)
this
.
responseCache
=
new
ResponseCache
(
this
.
incrementalCache
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment