- From: James Burke <notifications@github.com>
- Date: Fri, 19 Jun 2015 15:57:36 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Friday, 19 June 2015 22:58:08 UTC
> Requests from a service worker always go to the network, which could be a gotcha here. However, you could get a script from the cache & create a blob url. >From my brief inspection in Chrome and Firefox Nightly, it looks like `caches` is also available in a browser window context, so as long as that will hold true in the future, that works for me. A bit verbose, but happy to start with that and prove it out, thanks for calling out this wrinkle and the example code! I posted to the whatwg on the shared worker spec issue: https://lists.w3.org/Archives/Public/public-whatwg-archive/2015Jun/0088.html --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/678#issuecomment-113665169
Received on Friday, 19 June 2015 22:58:08 UTC