Kwanza
Kwanza
Explore posts from servers
CDCloudflare Developers
Created by Kwanza on 4/8/2025 in #pages-help
Enable Transformations on Cloudflare Pages Preview
Hello. I am deploying Next JS 14 applications to Cloudflare pages. I want to use image transformation via the following guide. I am able to get this working in production as my prodution builds have a zone attached to them. However, I am not able to see any previews of images in my preview deployments that simply run on pages.dev. I know you have to enable transformations for zones in order to use the transformations so I was wondering if I am missing something and if it is possible to view images on pages.dev accoutns that are not associated with a zone.
1 replies
CDCloudflare Developers
Created by Kwanza on 3/24/2025 in #pages-help
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?
1 replies
CDCloudflare Developers
Created by Kwanza on 3/23/2025 in #general-help
Help with purging and updating images Cloudflare pages
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?
1 replies
DTDrizzle Team
Created by Kwanza on 5/31/2024 in #help
Nested Where Clause in Many-to-Many relation using Query
No description
5 replies