Re: [ServiceWorker] Interception of the fallback requests initiated from a SW for cross-origin resources (#684)

@jakearchibald is your proposal that `https://font-service/sw.js` would only be allowed to intercept requests from service workers (and their controlled pages) that explicitly called `registerExternal` for that service?

I don't think either way that this will significantly increase the number of workers that may be needed to display a single page. After all there already is a problem with things like social network "like" buttons, ads, and probably many more things that are typically implemented with iframes, which all potentially can have their own service workers.

The update thing is a good question. I haven't really thought about that. On one hand I'm tempted to say to just leave this up to user agents (after all, a user agent is already allowed to call the Soft Update algorithm as often as it wants), but then on the other hand this does feel like something that should somehow be specced.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/684#issuecomment-95314977

Received on Wednesday, 22 April 2015 19:48:10 UTC