© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
CD
Cloudflare Developers
•
3mo ago
zapalona_swieczka
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
?
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Purging cache in workers
CD
Cloudflare Developers / workers-and-pages-help
3mo ago
Implementing Worker Tag Cache and Purging by Tag
CD
Cloudflare Developers / workers-and-pages-help
13mo ago
purging fetch cache that uses a custom cache key
CD
Cloudflare Developers / workers-and-pages-help
3y ago
Unable to delete cache inside caches.default via Queue
CD
Cloudflare Developers / workers-and-pages-help
15mo ago