- From: Jeffrey Posnick <notifications@github.com>
- Date: Wed, 04 Feb 2015 07:43:05 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Wednesday, 4 February 2015 15:43:32 UTC
@jakearchibald @slightlyoff:
Here's my take on elaborating the `update()` Note, to clarify that, by default, the browser's HTTP cache is consulted for an unexpired copy of the service worker script, and that `update()` skips the HTTP cache.
I hadn't previously been clear on whether it was the browser HTTP cache that was consulted or some service worker-specific cache—the impression that I got was that service workers scripts were always cached for 24 hours, and the only way to achieve a quicker cache expiration was to call `update()`.
You can view, comment on, or merge this pull request online at:
https://github.com/slightlyoff/ServiceWorker/pull/616
-- Commit Summary --
* Expanded on the update() Note:
-- File Changes --
M spec/service_worker/index.html (2)
-- Patch Links --
https://github.com/slightlyoff/ServiceWorker/pull/616.patch
https://github.com/slightlyoff/ServiceWorker/pull/616.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/pull/616
Received on Wednesday, 4 February 2015 15:43:32 UTC