Re: [w3c/ServiceWorker] Does changing updateViaCache mint a new ServiceWorkerRegistration or update them all? (#1189)

> I'd find it surprising for ServiceWorkerGlobalScope#registration to change over the lifetime of a the service worker.

You would get a new service worker version with the new registration.  So this would not happen.

> Well there is the navigation preload state that can be mutated.

True, but AFAICT that state is not set as part of a `register()` call.  Maybe we should let `updateViaCache` be set through a method like `navigationPreload.enable()`.

FWIW, though, we are currently planning to ship the behavior in https://github.com/w3c/ServiceWorker/issues/1189#issuecomment-323759227 in FF57.  I feel like this is a bit of a corner case, so I think we can change it later as long as we maintain an `updateViaCache` in `register()`.



-- 
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/1189#issuecomment-329787372

Received on Friday, 15 September 2017 14:25:30 UTC