Skip to main content

R2 Storage

Cloudflare doc (https://developers.cloudflare.com/r2/buckets/public-buckets/

says this -

Note

Public access through r2.dev subdomains are rate limited and should only be used for development purposes.

To enable access management, Cache and bot management features, you must set up a custom domain when enabling public access to your bucket.

So shouldn't we use custom domains?

Aaron Liang

According to the discussions under this post, custom domain is the better way

Thomas Nelson

Aaron Liang ⭐ thanks Aaron. Know anything about where we are at with image optimization?

Aaron Liang

Thomas Nelson as far as I know, FC reduces images to certain resolution (if too big) and converts them to webp before uploading to R2. We don’t have any control over the compression level or the resizing, but everyone seems to be happy with it so far.

Thomas Nelson

Aaron Liang ⭐ 1MB to about 180k, I can live with that for now. Thanks again.