- From: Jake Archibald <notifications@github.com>
- Date: Wed, 07 Dec 2016 03:39:19 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Wednesday, 7 December 2016 11:39:55 UTC
`importScripts` has two behaviours. One where it fetches from the network and adds to its "script resource map", and another where it fetches only from the "script resource map". This allows `importScripts` during initial execution to implicitly populate the cache while the service worker is not-active, then later work without the network by using this cache. The spec flips the switch once install has completed, but @mattto and @wanderview say implementations flip the switch after the first synchronous run of the service worker script. Should the spec match implementations? -- 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/1021
Received on Wednesday, 7 December 2016 11:39:55 UTC