Found out how to get caching working with cloudflare R2 private objects. Use cloudflare workers with auth to respond to requests with r2 objects. * When worker reads R2 object, the bandwidth is free. Only charge for Class B operation * When worker responds to user, the egress is free.
Anyone know how/if caching works with Cloudflare R2 private buckets? I am using presigned urls to access private objects in an R2 bucket. I would like those objects to be cached. I do have a domain assigned to the (private) R2 bucket too. What I do to tell Cloudflare to cache these objects?
0 reposts1 like