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
Neto4mo ago
UT is already using a cdn for you
Neto
Neto4mo ago
Cache-Control Cf-Cache-Status
No description
Neto
Neto4mo ago
can you use a cdn of top of it? most likely a worker that requests the image and streams back the buffer
Sam
Sam4mo 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
Neto4mo 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
Sam4mo 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