Docs error?
Answered
Oak apple gall wasp posted this in #help-forum
Oak apple gall waspOP
https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config#fetchcache
Is the fetchCache section (linked above) outdated?
Nextjs says fetch requests are no longer cached by default in v15 (here - https://nextjs.org/docs/app/building-your-application/upgrading/version-15#fetch-requests).
But then in the docs for fetchCache, it says...
Is the fetchCache section (linked above) outdated?
Nextjs says fetch requests are no longer cached by default in v15 (here - https://nextjs.org/docs/app/building-your-application/upgrading/version-15#fetch-requests).
But then in the docs for fetchCache, it says...
By default, Next.js will cache any fetch() requests that are reachable before any Dynamic APIs are used and will not cache fetch requests that are discovered after Dynamic APIs are used.
'auto' (default): The default option to cache fetch requests before Dynamic APIs with the cache option they provide and not cache fetch requests after Dynamic APIs.