Unverified Commit 41abf8b6 authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

reduce default maxInactiveAge to 15s (#29817)

With persistent caching and other disposing fixes we can safely reduce the time before pages are disposed.

The last 2 client pages are still never disposed.
parent d8437478
......@@ -175,7 +175,7 @@ export const defaultConfig: NextConfig = {
buildActivity: true,
},
onDemandEntries: {
maxInactiveAge: 60 * 1000,
maxInactiveAge: 15 * 1000,
pagesBufferLength: 2,
},
amp: {
......
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