Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Cache using fetch - cache TTL by response header - Cloudflare Developers
CD
Cloudflare Developers
โข
10mo ago
Coshmar Tabletowy V
Cache using fetch - cache TTL by response header
Hi
,
in
https://developers.cloudflare.com/workers/examples/cache-using-fetch/
I can see there is
cacheTtlByStatus
cacheTtlByStatus
property
. Any way to achieve something like
cacheTtlByResponseHeader
cacheTtlByResponseHeader
equivalent where cache TTL will rely on the headers received from origin
?
Cloudflare Docs
Cache using fetch ยท Cloudflare Workers docs
Determine how to cache a resource by setting TTLs
, custom cache keys
, and cache headers in a fetch request
.
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
Similar Threads
the "Browser Cache TTL" does nothing
CD
Cloudflare Developers / workers-and-pages-help
12mo ago
create TTL cache in CF worker
CD
Cloudflare Developers / workers-and-pages-help
14mo ago
Fetch() cache behaviour
CD
Cloudflare Developers / workers-and-pages-help
3y ago