- From: Andrew Sutherland <notifications@github.com>
- Date: Fri, 16 Oct 2020 09:25:38 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 16 October 2020 16:25:50 UTC
> > postMessage-ing a ServiceWorker which potentially could bring both processes and threads into existence and involve evaluating megabytes of JS to avoid exposing a string identifier seems like a bad battery trade-off? > > This could be optimised, say service worker at install time adds its scope and version in some database. xref https://github.com/w3c/ServiceWorker/issues/1331 and in particular Asa's comment https://github.com/w3c/ServiceWorker/issues/1331#issuecomment-403575004 which cited latencies of up to 1 second with IndexedDB. Also xref https://github.com/w3c/ServiceWorker/issues/1157 -- 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/1512#issuecomment-710175524
Received on Friday, 16 October 2020 16:25:50 UTC