- From: Remy Sharp <notifications@github.com>
- Date: Sat, 25 Jun 2016 09:35:19 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc:
Received on Saturday, 25 June 2016 16:35:45 UTC
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