- From: Arthur Stolyar <notifications@github.com>
- Date: Wed, 22 Jun 2016 06:26:18 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc:
Received on Wednesday, 22 June 2016 13:26:53 UTC
`Cache.match()` runs `Cache.matchAll()` internally. `Cache.matchAll()` uses `Query Cache` algorithm which doesn't use `CacheQueryOptions.cacheName` in it. I don't know why you may want to filter by cache name inside **a cache**, plus, `Cache` doesn't know its name and doesn't have `name` property, so it's actually impossible at this moment. I guess you just confused `Cache` and `CacheStorage`. The last uses `CacheQueryOptions.cacheName` to match in specified cache instead in all caches in the storage. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/917#issuecomment-227742460
Received on Wednesday, 22 June 2016 13:26:53 UTC