miniflare
miniflare copied to clipboard
Check key actually matches when calling `Cache#match`
If a key exists in the cache, Miniflare will always return the matching Response
on match()
. This is not always correct: we should be calling satisfiesWithoutRevalidation
from http-cache-semantics
first.
There are also a couple other return cases we should implement: https://developers.cloudflare.com/workers/runtime-apis/cache/#match