- From: Jake Archibald <notifications@github.com>
- Date: Mon, 27 Nov 2017 16:28:45 +0000 (UTC)
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 27 November 2017 16:29:08 UTC
Both `add` and `addAll` take `Request` objects:
```js
cache.addAll(
urls.map(url => new Request(url, { credentials: 'include' }))
);
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1233#issuecomment-347237550
Received on Monday, 27 November 2017 16:29:08 UTC