Re: [w3c/ServiceWorker] consider allowing multiple worker thread instances for a single registration (#756)

>> I would recommend doing this in the window and not in the service worker. You can download the new language pack and save it in cache all from the window.
>
>I could, but my app also auto-updates, and I want to avoid the situation where it does a big update twice, simply because two windows are open. Having SW manage all updates seems to work better in this case.

Wouldn't a SharedWorker be ideal for "only one instance can ever be doing this" use cases?

-- 
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/756#issuecomment-290948252

Received on Saturday, 1 April 2017 21:27:49 UTC