JS lazyweb: is there a way to tell a service worker to ignore an EventSource? It's trying to `await fetch(eventSourceURL)`, but of course that never resolves. I want the browser to bypass the SW and go right to the server, ideally without hardcoding the URL
I just have a global variable and/or query param to skip fetch handling in dev. Disabling SW in devtools also works well these days.
-
-
but how can you know if your service worker is behaving correctly if it's disabled during development?!
-
This is why I prefer query param; you need to be able to test both behaviors because users will experience both
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.