- From: Marco Colli <notifications@github.com>
- Date: Sat, 09 Jul 2016 04:56:45 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc:
Received on Saturday, 9 July 2016 11:57:13 UTC
> One option is to extend byte-to-byte comparison to the whole imported scripts (importScripts) graph. +1 for this **Personally I don't like the idea of having to return a custom header** to force the refresh of the imported scripts. This is because at Pushpad (which is a BaaS) we have a script that is imported in our customers' service workers. When we update our script we want the update to be propagated. However **we cannot ask our customers to return custom headers for their service worker (some of them for example have simple websites or blogs powered by Wordpress)**. I have described more extensively about our situation and why we need automatic updates of the imported scripts in [this blog post](http://blog.pushpad.xyz/2016/07/service-worker-importscripts-never-updates-scripts/). --- 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/721#issuecomment-231530798
Received on Saturday, 9 July 2016 11:57:13 UTC