m0uka
m0uka
CDCloudflare Developers
Created by m0uka on 7/27/2024 in #workers-help
cache.match subrequests
Hey, does the Cloudflare's Worker Cache API function cache.match run a subrequest to the request object when the cache misses? In the docs, I can see that https://developers.cloudflare.com/workers/runtime-apis/cache/#parameters-1 if there's a header called cache.match()? then a subrequest is never sent to the origin? Kinda getting lost here, how is that a valid header name? Thanks for the help!
1 replies