Re: [w3c/ServiceWorker] Cache.addAll() and .add() needs to accept an init argument to use for fetch() (#1233)

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