How to set up caching/revalidation with images/files that have expiring tokens?
Unanswered
Indian mackerel posted this in #help-forum
Indian mackerelOP
So, specifically I'm using bunny cdn. To load a resource, a token needs to be generated that expires after a set time. It's all great, except that cached nextjs pages dont regenerate the token, so after it's expired the resources fail to load. After the pages are revalidated it works again of course. So is the only solution then to revalidate all pages after a set time (right now, they are only revalidate after a new page is added in the CMS)? Seems a bit inefficient to me. Is it possible to load images dynamically every time and cache the rest of the page? maybe i missed smt in the docs. Thx!