Hi everyone Even if we restrict R2 to allow direct file access only from the machine, is there a risk that users could still access the file unauthorized by finding its direct address?
Hey, I'm running into a similar issue trying to fetch a file from an allowed origin through a custom domain.
Origin request header is correct, and I have everything mentioned here in my config, but cors requests are still failing due to missing the allowed origin header in the response. Everything else looks correct from the response. Cache-Status: HIT, Content-Type, Content-Length, ETag, etc.
How can I programmatically purge the cache if only the content of the image uploaded to R2 has been ?
Custom domain in R2 (e.g. public-images.mydomain.com)
After uploading an image to R2 with /test.png, if I upload another image file again with /test.png, it is not updated when accessed from a browser. This was solved by purging from the dashboard by specifying https://public-images.mydomain.com/test.png, but I want to do this programmatically. How do I do this?
Can someone help me to turn on https. I tried turned on always use https, http rewrites and pages rules , configuration added and ssl labs given grade T. But still page is not secure
Yes, but the cache is browser-side. So how does the browser know to cache it for an hour? Typically caching is achieved through the Cache-Control response header.
Is it possible the browser is still receiving a cached preflight response since that header isn't present in the response (was added only about 30 minutes ago to the config)?
Do the responses cache server-side at all? Because it wouldn't make sense that I'd still be getting a cached response from another browser, or even the same browser with caching disabled.
I’m sharing this library I made for a video player with HLS, supporting multiple qualities and deferred loading with Cloudflare R2. Suggestions and support are welcome! :MeowHeartCloudflare:
Includes CORS configuration recommendations, video thumbnails, etc.!
Cloudflare R2 and HLS embedded video player JavaScript library featuring thumbnails, lazy loading, and multiple quality options. - fernandodilland/r2-player.js
Hey! I have a grid of looped video previews using R2 and only 9 of out 12 play, is there a limit on the amount of simultaneous requests or something? Most videos load and some just failed as "canceled" I was using Mux and no such issue so it's not coming from my code or browser either, feels specific to Cloudflare and/or R2!