- From: Jake Archibald <notifications@github.com>
- Date: Thu, 26 Feb 2015 01:11:35 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Thursday, 26 February 2015 09:12:04 UTC
Conversely, I've seen devs use this behaviour deliberately. Eg: ```js importScripts("actualloglc-v1.js"); ``` The reason they've done this is to "keep the update check really small". I'm not a fan of this as etags are a better fit, but it is what devs are doing. In the case of: ```js importScripts("//other-origin/third-party.js"); ``` …I'm not sure I want the third party to decide when a new version of my SW should be created. @nikhilm in your example, what's the benefit of the import vs just including the script? --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/639#issuecomment-76144703
Received on Thursday, 26 February 2015 09:12:04 UTC