I uploaded a file to R2, how can I make it available for download to everyone?
I uploaded a file to R2, how can I make it available for download to everyone?
2 Replies
The recommend way is to use custom domain so you can do cache. But you can also make the bucket public and use the r2 domain.
Here's the link to the documentation that might be helpful: https://developers.cloudflare.com/r2/buckets/public-buckets/
Cloudflare Docs
Public buckets · Cloudflare R2 docs
Public Bucket is a feature that allows users to expose the contents of their R2 buckets directly to the Internet. By default, buckets are never …