UploadThing + CDN

Hi all, I've tried searching but haven't been able to find a clear cut answer - Has anybody used other CDNs with UploadThing? I've seen some discussions about UT using cloudflare, so does that mean I don't need to set up my own CDN if I'm using UT?
6 Replies
Neto
Neto5mo ago
UT is already using a cdn for you
Neto
Neto5mo ago
Cache-Control Cf-Cache-Status
No description
Neto
Neto5mo ago
can you use a cdn of top of it? most likely a worker that requests the image and streams back the buffer
Sam
SamOP5mo ago
ah got it, that's really good to know. thank you! do you think there any specific reasons to use another CDN on top of UT?
Neto
Neto5mo ago
hiding urls
-> https://files.your-domain.com/some-url.png
--> worker takes the request and look-up the correct url
---> request to the UT url
--> starts streaming the response back
-> user sees file
-> https://files.your-domain.com/some-url.png
--> worker takes the request and look-up the correct url
---> request to the UT url
--> starts streaming the response back
-> user sees file
Sam
SamOP5mo ago
got it. thanks for the clarification! good to know that there's already a CDN in place at least
Want results from more Discord servers?
Add your server