diff --git a/next.config.js b/next.config.js index ac14af3..81d19c1 100644 --- a/next.config.js +++ b/next.config.js @@ -34,4 +34,9 @@ module.exports = withImages({ return config; }, + + onDemandEntries: { + maxInactiveAge: 25 * 1000, + pagesBufferLength: 5, + }, })