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
property. Any way to achieve something likecacheTtlByResponseHeader
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.
0 Replies