Re: [w3c/ServiceWorker] Proposal: Allow addEventListener/removeEventListener for 'fetch' to called at anytime (#1195)

Would #1026 be a solution for the problems here?

For example, if you could do the following:

* Call `fetch(url, { serviceworker: 'none' })`
* Add an attribute to elements like `<img src="foo.jpg" serviceworker="none">`.
* Perhaps set a default policy via a `<meta>` tag, etc.

I guess I'm wondering if we expose the bypass primitive, perhaps then the page can manage the state about whether requests should get a FetchEvent or not.

-- 
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/1195#issuecomment-340781059

Received on Tuesday, 31 October 2017 14:34:21 UTC