@slightlylate @jaffathecake best event to know a newer SW was registered? 'statechange' redundant or registration object's `updatefound'?
-
-
also, does "updatefound" get dispatched before or after precaches are fetched if you `waitFor`?
1 reply 0 retweets 0 likes -
Replying to @HenrikJoreteg
: See: https://developers.google.com/web/fundamentals/instant-and-offline/service-worker/lifecycle#handling_updates … /cc
@jaffathecake1 reply 0 retweets 1 like -
Replying to @slightlylate
: basically you should be trying to drive changes from the *new* SW because only it is competent to decide /cc
@jaffathecake1 reply 0 retweets 0 likes -
Replying to @slightlylate @jaffathecake
makes sense, that links sounds like the sort of detail I was looking for, thanks.
1 reply 0 retweets 0 likes
Replying to @HenrikJoreteg
: the core of the model is that updates can fail but that once installed, the new SW gets to call the shots.
11:24 AM - 1 Dec 2016
0 replies
0 retweets
1 like
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.