next.js
ef2961c4 - Disable fetch cache size limit for implicit caching during build (#80480)

Commit
1 year ago
Disable fetch cache size limit for implicit caching during build (#80480) During build-time prerendering, when we're only caching `fetch` calls implicitly to improve build performance, and not because the user has explicitly opted into fetch caching, we should not enforce the 2MB size limit. 1. The size limit is not required of the file-system-based cache that's used at build time. 2. The warning is not helpful to users, as they are not aware of the implicit caching behavior. Related PRs: - https://github.com/vercel/next.js/pull/68546 - https://github.com/vercel/next.js/pull/79384
Author
Parents
Loading