Re: [w3c/ServiceWorker] Static routing: the "cache" source stops at the first cache that lacks the request (Issue #1853)

ikram1201 left a comment (w3c/ServiceWorker#1853)

Thanks @bcardarella for the clear write-up. I have a spec change ready that does what you suggest: the step you quoted becomes "If |requestResponses| is an empty list, continue", and the existing "Return |timingInfo|" after the loop handles the case where no cache matches. `source: {cacheName}` is unaffected. I also have a WPT with two caches in a fixed order: a match only in the later cache, first-match-wins, both `cacheName` cases, and the network fallback. It passes in Chrome. Firefox doesn't implement static routing yet.

@monica-ch @yoshisatoyanagisawa does this approach look right to you? If so, I'll open the spec and WPT PRs. I see #1764 uses `continue` the same way for `race-network-and-cache`.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1853#issuecomment-6752490832
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/ServiceWorker/issues/1853/6752490832@github.com>

Received on Monday, 9 November 2026 21:56:11 UTC