Search
Setup for Free
CD
Cloudflare Developers
•
2y ago
dave
If possible, I really recommend everyone avoid multipart uploads.
If possible
, I really recommend everyone avoid multipart uploads
.
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
83,498
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
O
Oleg Isonen
that's interesting and I am just 🤯 how it can be an unsolved problem out of the...
B
bun
•
2/18/24, 7:21 PM
i get 10 ms for that css
D
dave
If possible, I really recommend everyone avoid multipart uploads.
S
SoulHarsh007
•
2/18/24, 7:21 PM
Yep
, I reuploaded the file without multipart
, because one of our tooling depends on the etag being md5sum
^
^
B
bun
i get 10 ms for that css
O
Oleg Isonen
•
2/18/24, 7:21 PM
that
's nice
, must be a cache hit
, though even with cache hit its usually 50ms
, you must be living in the datacenter or you are testing it wrong
O
Oleg Isonen
•
2/18/24, 7:22 PM
150 is more like it when its not too far away from european R2
O
Oleg Isonen
•
2/18/24, 7:23 PM
150ms with cache hit is a s
.
.t show as well in my opinion
E
Erisa
•
2/18/24, 7:24 PM
That will also heavily depend on the internet connection and routing quality of the individual requesting it
. For example I would probably get 150ms if I used my phones mobile data or had an ISP with poor quality peering
E
Erisa
•
2/18/24, 7:25 PM
There are two ends of every connection
E
Erisa
That will also heavily depend on the internet connection and routing quality of ...
O
Oleg Isonen
•
2/18/24, 7:27 PM
you can compare with this static file to see clear difference
https://eu.posthog.com/static/array.js
U
Unsmart
•
2/18/24, 7:28 PM
thats exactly the same speed for me on cache miss and cache hit from texas
(compared to yours
)
O
Oleg Isonen
•
2/18/24, 7:29 PM
actually this one seems doing well
https://cdn.jsdelivr.net/npm/psl/dist/psl.min.js
U
Unsmart
•
2/18/24, 7:29 PM
cloudflare seems to do much better when cached though the posthog aws one seems to have higher end latencies when refreshing multiple times
Original message was deleted
O
Oleg Isonen
•
2/18/24, 7:29 PM
that would be an acceptable performance to me if its globally in that range
, I am talking really 500ms bad globally
, not trying to shave off 20ms
B
bun
•
2/18/24, 7:31 PM
B
bun
•
2/18/24, 7:31 PM
its like 200 ms
B
bun
•
2/18/24, 7:31 PM
globally
B
bun
Click to see attachment
O
Oleg Isonen
•
2/18/24, 7:31 PM
what resource are you going for with this test
, the document
? we are discussing static asset
, e
.g
. this one
https://webstudio.is/build/_assets/index-6JJ5GLFW.css
B
bun
•
2/18/24, 7:31 PM
yeah
O
Oleg Isonen
•
2/18/24, 7:31 PM
document is not an issue here
, even though it could be faster
B
bun
•
2/18/24, 7:32 PM
the path param is hidden in settings but its for that url
O
Oleg Isonen
•
2/18/24, 7:32 PM
@bun what
's the tool you are using
?
B
bun
•
2/18/24, 7:32 PM
https://www.jsdelivr.com/globalping
B
bun
•
2/18/24, 7:32 PM
B
bun
https://www.jsdelivr.com/globalping
O
Oleg Isonen
•
2/18/24, 7:33 PM
global ping doesn
't even try to fetch a specific resource
B
bun
•
2/18/24, 7:33 PM
its not a ping its a http request
Original message was deleted
O
Oleg Isonen
•
2/18/24, 7:33 PM
CAN
'T because it doesn
't work with R2 apparently
B
bun
•
2/18/24, 7:34 PM
TTFB is what matters here
B
bun
its not a ping its a http request
O
Oleg Isonen
•
2/18/24, 7:34 PM
to the document
, and we are not discussing that
, we need that test to the css ressource I mentioned and that tool doesn
't let me specify the ressource
Original message was deleted
O
Oleg Isonen
•
2/18/24, 7:35 PM
what
's a normal host
? our static ressources are on R2
O
Oleg Isonen
to the document, and we are not discussing that, we need that test to the css re...
B
bun
•
2/18/24, 7:35 PM
it does
? as i showed in the screenshot
Original message was deleted
O
Oleg Isonen
•
2/18/24, 7:36 PM
so you want to set up a proxy for R2 so that cloudflare can use tiered cache
O
Oleg Isonen
•
2/18/24, 7:36 PM
I hear this solution from
@istarkov and I am like
"wtf
"
Original message was deleted
O
Oleg Isonen
•
2/18/24, 7:37 PM
I am saying we can
't
, its not a toy project
, we need R2
, otherwise we have to migrate to S3 all static ressources
O
Oleg Isonen
•
2/18/24, 7:37 PM
right
, I honestly love CF
, politics here play a role
, and I would hate my guts for going to AWS
O
Oleg Isonen
to the document, and we are not discussing that, we need that test to the css re...
B
bun
•
2/18/24, 7:38 PM
the results i showed earlier were for that css
.
the results for the document itself are 500
-1000 ms
O
Oleg Isonen
•
2/18/24, 7:38 PM
I am rooting for CF to succeed and I just can
't wrap my head around the fact that this is such a simple issue that can
't be fixed within CF ecosystem
E
Erisa
•
2/18/24, 7:40 PM
To my knowledge Tiered Cache
(at least Smart tiered
) still won
't work since the origin is still an anycast Cloudflare IP
B
bun
the results i showed earlier were for that css. the results for the document it...
O
Oleg Isonen
•
2/18/24, 7:41 PM
if document is 500
-1000ms slow globally
, then core web vitals are also f
.
.
.d even if all static is perfect
O
Oleg Isonen
if document is 500-1000ms slow globally, then core web vitals are also f...d eve...
B
bun
•
2/18/24, 7:41 PM
thats true
B
bun
•
2/18/24, 7:42 PM
maybe put document files in KV
, and every other asset can be served from R2
Original message was deleted
E
Erisa
•
2/18/24, 7:42 PM
The HTML document in question isnt even cached
Original message was deleted
O
Oleg Isonen
•
2/18/24, 7:42 PM
so using a worker as a proxy
Original message was deleted
O
Oleg Isonen
•
2/18/24, 7:43 PM
would be amazing if that works really well
, but also
B
bun
the results i showed earlier were for that css. the results for the document it...
E
Erisa
•
2/18/24, 7:43 PM
What testing tool is that
?
B
bun
•
2/18/24, 7:43 PM
https://www.jsdelivr.com/globalping
B
bun
•
2/18/24, 7:43 PM
although it doesnt ping
, it actually makes a request and downloads the resource
. displaying vitals for each of those
E
Erisa
•
2/18/24, 7:44 PM
Well it does whatever you tell it to
E
Erisa
•
2/18/24, 7:44 PM
I suspect it may be prohibitively expensive
E
Erisa
•
2/18/24, 7:45 PM
Ah
, not bad
Original message was deleted
I
Ivan Starkov
•
2/18/24, 7:47 PM
Tried
, doesnt work if domains are on single account
, gonna try with different accounts
U
Unsmart
•
2/18/24, 7:48 PM
The annoying part of trying to do tiered cache on your own with DOs would be mapping all the colos to what location it should load a DO from
Next page
Similar Threads
Multipart uploads fails in certain situations, gives no comprehensive error message
CD
Cloudflare Developers / workers-and-pages-help
7mo ago