Here’s my scenario:
I have worker sites deployed under workers.dev domain.
I have another worker that proxies requests on a custom domain to appropriate site on the workers.dev domain. (eg.
example.mydomain.com/1 gets proxied to
I have different routes defined, which when matched, point to the proxy worker.
From what I see on the browser’s
cf-cache-status=HIT header, files under
mysite1.workers.dev are also cached. That means, my proxy-worker gets cached response when it proxies requests.
example.mydomain.com/1 also gets cached on the edge, being a proxied cname record.
When I clear the cache on
example.mydomain.com/1, does it also clear the cache under
mysite1.workers.dev? Apparently not.
So how do I make sure the
mysite1.workers.dev cache gets cleared? Or does that happen automatically when the worker site is updated?