- From: Yoshisato Yanagisawa <notifications@github.com>
- Date: Tue, 21 Oct 2025 19:05:41 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 22 October 2025 02:05:45 UTC
yoshisatoyanagisawa left a comment (w3c/ServiceWorker#1797)
Behavior might be:
`"cache"`: look up the cache storage without any options. Equivalent to `caches.match(request)`
`cacheName: "example"`: look up the cache "example" without any options. Equivalent to `caches.match(request, {cacheName: "example"})`
`cacheOptions: {ignoreSearch: true}`: look up the cache storage with the given option. Equivalent to `caches.match(request, {ignoreSearch: true})`
`cacheName: "example", cacheOptions: {ignoreSearch: true}`: look up the cache "example" with the given option. Equivalent to `caches.match(request, Object.assign({ignoreSearch: true}, {cacheName: "example"}))`
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1797#issuecomment-3430199770
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/ServiceWorker/issues/1797/3430199770@github.com>
Received on Wednesday, 22 October 2025 02:05:45 UTC