- From: Ben Kelly <notifications@github.com>
- Date: Mon, 22 Aug 2016 20:28:06 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Tuesday, 23 August 2016 03:28:36 UTC
>```
fetch(url).then(function (response) {
return cache.put(url, response);
})
```
I updated this example in MDN to reflect the `response.ok()` check.
--
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/commit/e2a6d18647b97707c7a571163eef7838f82ca611#commitcomment-18736464
Received on Tuesday, 23 August 2016 03:28:36 UTC