Proxy Image CDN ToS query

What is the name of the domain?

example.com

What is the issue you’re encountering

Looking to proxy a server that optimises and stores images and files for many sites. 100k+ optimised files, 300+ sites. Can’t figure that no ToS will be broken or right approach if so. image product transforms images we already have.

Yes, proxying that through Cloudflare would be a violation of said terms. You’d need Cloudflare Image Optimization · Cloudflare Image Optimization docs

Thanks for confirming.

I had seen the images product and hopefully, you can assist with clearing up something there also.

The images we have are already transformed and optimised so I don’t need the transformation part and they can be stored either using their image storage or on R2.

The pricing page is not clear to me though on the delivery as it says $1 for 100k but does not apply if they are already optmised and stored on s3/r2.

Since I don’t need the transformation part, can I just get an r2 and mount it on my server?

Yes, if you just need to store binaries, R2 will work.

1 Like

ah ok so to confirm there, I can have a r2 product mounted as an s3 drive to my server and proxy the domain to that server and that won’t breech terms based on the numbers I’ve provided?

The server will handle the delivery of the image from the r2 space to cloudflare and the end user.

r2 will charge me for storage, writes and reads to the mounted drive.

No, you can’t proxy. You need to serve content straight from Cloudflare’s storage. If this goes via your server, it will still be considered content from your server.

For more details about that configuration, please open a thread in Storage.

1 Like

Assuming placing a worker in front is also ok? for custom domain and enhanced functionality purposes.

Should be okay, is charged additionally of course depending on your Worker plan.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.