Images caching
If I store images with cloudflare images, and serve the images URLs through the cloudflare CDN (e.g. proxy enabled in the DNS settings), does each load (even cached through the CDN) count as one delivery?
Is there a best practice guide for serving images somewhere? I looked but the docs weren't super helpful, apologies
1 Reply
does each load (even cached through the CDN) count as one delivery?Yes, for Cloudflare Images. There's guides for the different ways to serve them here: https://developers.cloudflare.com/images/manage-images/serve-images/serve-from-custom-domains/ but I'm not aware a "best practice" guide, just depends what you want. Worth noting the
imagedelivery.net
domain is going to have Enterprise routing unlike serving them on your custom domain which would have your plan's routingCloudflare Docs
Serve images from custom domains | Cloudflare Image Optimization docs
Image delivery is supported from all customer domains under the same Cloudflare account. To serve images through custom domains, an image URL should be adjusted to the following format: