Why purging cache by tags purges other caches?

in worker I request https://httpbin.io/get?time=${new Date().toLocaleString()} then add headers Cache-Control max-age=60; s-maxage=60 it's cached, second request to worker returns HIT.. but when I call purging cache tag "offers": curl https://api.cloudflare.com/client/v4/zones/$ZONE_ID/purge_cache -H 'Content-Type: application/json' \ -H "X-Auth-Email: $CLOUDFLARE_EMAIL" \ -H "X-Auth-Key: $CLOUDFLARE_API_KEY" \ -d '{ "tags": [ "offers" ] }' next request to worker returns cf-cache-status DYNAMIC I checked httpbin is not setting Cache-tag, I'm not setting that Cache-tag.. What is going on?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?