Next.js Discord

Discord Forum

Docs error?

Answered
Golden northern bumble bee posted this in #help-forum
Open in Discord
Golden northern bumble beeOP
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...

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.
Answered by @ts-ignore
the docs aren't yet updated
View full answer

2 Replies