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

Just leaving some feedback related to:

https://jakearchibald.com/2016/service-worker-meeting-notes/

>     Are you maintaining global state within the service worker?
>     Would this change break your stuff?
>     If so, could you use a more persistent storage like shared workers / IndexedDB instead?
> 

So far we have been already using indexedDB (with localForage for simple key/value) the fact that the SW can be killed was strong enough to not to keep states on memory and persist them.

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

Received on Friday, 5 August 2016 08:07:05 UTC