Understanding Where Next.js Fetch Cache is Stored and How It Differs Between Vercel Deployments and Self-Hosted Environments #85959
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I have two separate deployments:
https://site-one.com/
https://site-two.com/
Both deployments are using the same codebase and both use the same tag (test), but each one calls a
different API domain.Does Next.js share this cached response globally across both deployments, or is each deployment isolated and maintains its own separate cache?
Additional Clarification:
Where exactly is this cache physically stored when deployed on Vercel vs when deployed on a self-hosted environment?
If there are any official docs explaining persistence, scope and isolation of fetch cache between deployments, please share — I couldn’t find a clear explanation.
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions