Fetch with Cache metadata
Hello! Is it possible to get the cache hit/miss status of a request that uses the "fetch with cache" example?
https://developers.cloudflare.com/workers/examples/cache-using-fetch/
I also had a few other questions:
* Will setting cacheTtl ignore the upstream webserver cache settings (even cache-control: nocache)?
* Does this api have the same restrictions as the cache api where it only works on custom domains and does not work with access?
thanks.
Cache using fetch · Cloudflare Workers docs
Setting the cache level to Cache Everything will override the default cacheability of the asset. For time-to-live (TTL), Cloudflare will still rely on …
1 Reply
also is there a way to invalidate the fetch cache? i'm proxying an api that returns 200 with errors sometimes
maybe I should just use durable objects?
bump 🙂