object across different data centres

We are using to save different requests to the same url to different caches within a worker.
However when I try to use the cache clearing api Purging cached resources from Cloudflare – Cloudflare Help Center for the original url the cache does not get cleared. Seems like the api above only operates on the cache.default object?

To fix that we tasked the worker to also be responsible for clearing the cache. But since the worker only operates within the confines of the current data centre we can’t invalidate the cache in all data centres.

Is there a solution outside of purchasing an Enterprise plan and use CustomCacheKey feature? Seems odd to expose methods without the ability to operate across all data centres. Makes clearing the cache effectively impossible as we can fill the cache in multiple data centres as the cache is missed, but then it leaves us with no way of clearing it?


This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.