Skip to content

Commit 14b7074

Browse files
authored
chore: silence fetch cache error due to size limit (#11767)
* silence fetch cache error due to size limit
1 parent 824f75c commit 14b7074

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

next.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ const nextConfig = {
4949
DEVELOPER_DOCS_: process.env.NEXT_PUBLIC_DEVELOPER_DOCS,
5050
},
5151
redirects,
52+
// https://github.com/vercel/next.js/discussions/48324#discussioncomment-10748690
53+
cacheHandler: require.resolve(
54+
'next/dist/server/lib/incremental-cache/file-system-cache.js'
55+
),
5256
};
5357

5458
module.exports = withSentryConfig(nextConfig, {

0 commit comments

Comments
 (0)