cake
cake
CDCloudflare Developers
Created by cake on 8/6/2023 in #workers-help
What's the difference between using R2 URL from worker vs Attaching R2 Bucket to worker?
I just noticed in our cloudflare worker that we're not attaching R2 buckets, but instead accessing R2 data via fetch and a public URL. What is the difference? Is there any clear advantage to attaching a bucket?
3 replies
CDCloudflare Developers
Created by cake on 8/4/2023 in #workers-help
Apply Cloudflare Auto-Minify for Worker requests that return R2 html, js, and png files
I've turned on auto-minify on cloudflare and cleared the cache, but I don't see Cloudflare applying any auto-minifying to my pages. The flow currently is client request -> worker -> r2 file. It seems like this bypasses the Auto-Minify logic layer. Is there a way to enable this?
8 replies