Configure Data Cache to persist across requests, but not across deployments?
Unanswered
Chinese Alligator posted this in #help-forum
Chinese AlligatorOP
Per Next.js docs Data Cache persists across requests and deployments:
https://nextjs.org/docs/app/building-your-application/caching#data-cache
In our project we want to fetch data from cms only during build and cache until the next deployment. When data in cms changes, it automatically triggers new deployment via webhook. I've checked all docs but didn't find appropriate option for that.
Do you know is it possible?
https://nextjs.org/docs/app/building-your-application/caching#data-cache
In our project we want to fetch data from cms only during build and cache until the next deployment. When data in cms changes, it automatically triggers new deployment via webhook. I've checked all docs but didn't find appropriate option for that.
Do you know is it possible?