- From: Arthur Stolyar <notifications@github.com>
- Date: Sat, 06 Aug 2016 10:01:51 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Saturday, 6 August 2016 17:17:06 UTC
In general, I think it's good to have this feature if storage-thing will be solved. In the `offline-plugin` I do some required pre-computations on SW startup. There isn't a lot of work, but I can imagine people doing much more pre-computation on SW startup, because it isn't possible to store global state in SW and requesting data from IDB on each `fetch`/other-event seems a bit weird. Maybe it isn't slow and perfectly fine, but from a dev perspective it isn't transparent and sounds much worse with "multiple SW instances". ___________________________________________ Other thing is this: does this feature worth complexity? While it makes life easier for Firefox devs, it makes life harder for web-devs, because we will have to handle on consequences. Other point was heavy computations, which as well could be done in SharedWorker without having multiple ServiceWorker instances. --- 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-238033730
Received on Saturday, 6 August 2016 17:17:06 UTC