Set the datacenter/colo for the cache API

Hi, is there a way to cache a page on a certain datacenter using the cache api? I see the following quote in the docs but curious if I can force it to a specific datacenter?
The Cache API is available globally but the contents of the cache do not replicate outside of the originating data center.
4 Replies
Chaika
Chaika9mo ago
No, it's just whatever one the worker is running in additionally the cache api doesn't support tiered caching
Luke
Luke9mo ago
Shoot, okay. Maybe I can just use R2 as a quick and dirty fallback. I don't really need speed per se - I want to not hit the origin multiple times if/when my automation visits the site
Chaika
Chaika9mo ago
If your automation runs from the same server it's likely it'd hit the same dc although cache is still pretty iffy though because some Cloudflare locations have mutiple datacenters each with their own cache main upside is it being free
Luke
Luke9mo ago
Thats true. I didn't realize that the cache api is free
Want results from more Discord servers?
Add your server