Re: [slightlyoff/ServiceWorker] Why doesn't cache.match support `cacheName` (#917)

Okay, so if I've understood the replies correctly, firstly the MDN docs are wrong, but in particular, **instead** of writing this:

```js
return caches.open('special-assets').then(cache => cache.match(request));
```

I can write this:

```js
return caches.match(request, { cacheName: 'special-assets' });
```

Is that right?

---
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-228555079

Received on Saturday, 25 June 2016 16:35:45 UTC