I rolled out presigned URL support to my users (users being site owners that use my Cloudflare integ

I rolled out presigned URL support to my users (users being site owners that use my Cloudflare integration system, not end users) a few days ago and I’m already getting questions from site owners asking why presigned URLs only work over HTTP/1.1. I know the S3 API is limited to HTTP/1.1, but it would be nice/have more noticeable benefits for presigned URLs if it had the capability to do HTTP/2 or HTTP/3. You end up with end users making multiple http requests concurrently. Hopefully it’s on the roadmap. It does seem silly when a site is running over HTTP/3, but then some attachments coming via presigned URLs are HTTP/1.1
16 Replies
kian
kian15mo ago
I'm not aware of any plans to support >1.1 on the S3 API, but all I have is an old-ish message for that: https://discord.com/channels/595317990191398933/940663374377783388/971613009522880543
digitalpoint
digitalpointOP15mo ago
Ya… it is what it is I guess. Using presigned URLs is still better than passing through the object via API. Just a little annoying I have to now field questions from site owners about why I made part of site only work over HTTP/1.1 for their end users. 🤷🏻‍♂️
민트티
민트티15mo ago
Hello, trying to sending objects ( <= 100 MB) with custom domain. The download speed deviation is severe on the same device, COLO. (40 mb/s to 6 mb/s, HKG) I checked with several users and found that some users were very fast or slow even though COLO was different. (mostly HKG, KIX) Could this be caused by a setup problem? Can I get some advice?
Unknown User
Unknown User15mo ago
Message Not Public
Sign In & Join Server To View
Unsmart
Unsmart15mo ago
I'd just create a life cycle rule to delete the prefix and then it will eventually clean them all up 🤷
Unknown User
Unknown User15mo ago
Message Not Public
Sign In & Join Server To View
Unsmart
Unsmart15mo ago
Theres no such thing as folder in S3 its a flat structure of keys. You can send a list object by prefix and you can set a delimiter to get an output that you can sorta fake a folder structure of the response. See: https://blog.skeddly.com/2020/09/amazon-s3-folders-demystified.html for some explanations around it
Unknown User
Unknown User15mo ago
Message Not Public
Sign In & Join Server To View
Unsmart
Unsmart15mo ago
its possible to delete anything via the s3 api
Unknown User
Unknown User15mo ago
Message Not Public
Sign In & Join Server To View
Unsmart
Unsmart15mo ago
yes, the delete endpoint doesnt know or care about the file type
Unknown User
Unknown User15mo ago
Message Not Public
Sign In & Join Server To View
Unsmart
Unsmart15mo ago
?support
Flare
Flare15mo ago
To contact Cloudflare Support about an issue, please visit the Support Portal and fill in the form on the portal. For more information on the methods by which you can contact Support for your plan level, see Contacting Cloudflare Support - Cloudflare Docs
Unsmart
Unsmart15mo ago
Just make sure you put in the correct key most likely though
Unknown User
Unknown User15mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server