Next.js Discord

Discord Forum

ISR shared between deployments

Unanswered
Crème D’Argent posted this in #help-forum
Open in Discord
Avatar
Crème D’ArgentOP
I am not sure if the ISR cached is being shared between deployments. Generating a static page in deployment A and accessing it on deployment B. Also not sure if this only works for production or also for the preview environment?
I am using Vercel for hosting.

4 Replies

Avatar
joulev
no cache between deployments unless you set up some kind of special caching mechanisms
Avatar
Crème D’ArgentOP
is there any way of adding a shared cached?
Avatar
joulev
What are you trying to cache?
Avatar
Crème D’ArgentOP
The generated ISR doc file