Help with Purging and Updating Images

Hello. I am working with Next JS, Cloudflare pages, and Cloudflare Images free tier for their transformations. I followed docs for creating the image loader exactly and I currently have it working in production. What I am confused about is that it seems the image cache is only invalidated with a push to production. I tried to request an image with a "must revalidate" in the headers, clearing the cache on the zone that is it configured for, as well as creating preview builds to hope this would fix it, but to no avail. Obviously, making a push to production everytime I want to invalidate my cdn-cgi cache for my zone isn't ideal so is there a webhook or cache configuration I can set up to ensure that preview deployments can also update this transformation cache?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?