Can R2 images be available without workers ( only url access) if i registered a custom domain?

Hi Folks,

Is there a way to access r2 images without going through worker?
in setting of R2 Bucket, it has been said that if you register custom domain then images will be publicly accessible through that domain.

please help

You don’t even need a custom domain (but it doesn’t hurt). You can toggle it as a Public Bucket, and you’ll get a unique subdomain URL for your public bucket.

thanks @sdayman , i checked this option, but R2 setting showing that user rate is limited and cache is not available, if custom domain is added then can we access with huge traffic and without access token?

That’s correct.

that’s the very good new for me @sdayman i will purchase a new domain for images stuff then may be we ca bypass workers.

1 Like

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