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 ;-)
Well, the default behaviour is "sane", in the sense that it doesn't incidentally break your app's behaviour with new versions. Doing more sophisticated thing requires more knowledge. This is the Extensible Web in action.
-
-
For that specific issue, we tried the other way, but `content-disposition`


Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
IMO, the default behavior is safe, but not sane; it's very surprising. The sane/unsurprising thing would be to automatically delay navigation when there's a SW waiting and the only/last tab is navigating/refreshing.
-
I'd very much like to fix the `content-disposition` thing. I just don't know how. /cc
@jaffathecake - 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.