slothluvchunk
CDCloudflare Developers
•Created by slothluvchunk on 2/5/2024 in #general-help
Image Optimizer: Host in R2 Possible?
Hi all,
We're working with a vendor on a new site and are trying to get image optimization in place as per their requests, but we currently store images in S3 (this is a wordpress site, using S3 as its media library).
The cost for using S3 has ballooned over the last several years due to egress costs, so R2 looks like an attractive solution - but as I move further into setting up image optimization, it looks like that product would actually prefer us store the images there.
I keep seeing conflicting (or incomplete) info in docs and in the community forums, so I'm hoping to get some context and info to help decide how to best implement this to maximize caching and optimization/resizing/transforms.
Are we best served migrating out of S3 and into R2, and setting up workers to handle image optimizations via the Images product or should we migrate out of S3 into "Images" (or should we avoid migration altogether at this point and do something else to keep things moving forward)?
Any insight is super helpful - thanks. Also, apologies if this is best posted to another channel, I didn't see a dedicated Images channel, but feel free to point me there if I missed it.
3 replies