We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97100fb commit 9d6e621Copy full SHA for 9d6e621
next.config.ts
@@ -83,6 +83,13 @@ const config: NextConfig = {
83
// the CDN marks the cached content as "fresh".
84
generateEtags: false,
85
86
+ // Disable Next.js's in-memory data cache. We don't use ISR or cached
87
+ // fetch — all pages render via Express middleware with getServerSideProps.
88
+ // The default 50 MB cache is unnecessary overhead during a memory-leak
89
+ // investigation and is implicated in known Next.js 16.1.x memory issues
90
+ // (vercel/next.js#88603).
91
+ cacheMaxMemorySize: 0,
92
+
93
compiler: {
94
styledComponents: true,
95
},
0 commit comments