[slightlyoff/ServiceWorker] Provide cache.putAll() method (#867)

If you want to write a bunch of separately obtained request-responses to a cache (e.g. you make requests before you've decided which cache to put them in), there is `cache.put()`, but not `cache.putAll()`. This makes it hard to make the write atomic. Why not add something like `cache.putAll(requests[], responses[])`?

---
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/867

Received on Wednesday, 6 April 2016 10:55:46 UTC