Good stuff by @dfabu on the SW lifecycle: https://redfin.engineering/service-workers-break-the-browsers-refresh-button-by-default-here-s-why-56f9417694 …
I often can tell how mature an engineer is by how freaked out they are by what SWs let you break ;-)
s/break it/put you in control, exactly the way you requested when adding a client-side proxy/
-
-
ennnnh, in the case of refreshing the last/only tab, I think it's a flaw in the design that it doesn't skipWaiting before loading the new page. It's a bad default, not just "too much control"
-
I understand why the design is the way it is, but I feel that the design forces developers to write a lot of code (and understand a lot of high concepts) to opt-in to sane behavior
- 2 more replies
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.