-
|
https://vercel.com/docs/concepts/next.js/incremental-static-regeneration#isr:-not-just-caching states:
That makes sense to me. However, I'm wondering if ISR+Vercel utilizes the previous build's page cache if the new page generation is turned off at build time (i.e., I'm trying to see if it's possible to set up ISR so that it only ever regenerates the page if the props have actually changed -- and not on every build. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
|
I'm curious about this too. It would be great if the cache could persist ISR-rendered pages between deploys and served up the cached page if that page's components have not been modified at all. In my own testing I can see that from a user's perspective the cache gets wiped on each deploy. |
Beta Was this translation helpful? Give feedback.
-
|
Any news on this? |
Beta Was this translation helpful? Give feedback.
-
|
This is now possible, learn more here: https://vercel.com/docs/infrastructure/data-cache |
Beta Was this translation helpful? Give feedback.
-
|
Does this ISR cache between builds works when using the page router? For me it's always cleaning up after a new build. |
Beta Was this translation helpful? Give feedback.
This is now possible, learn more here: https://vercel.com/docs/infrastructure/data-cache