@ericf Right, background-sync is what you want for that. Using push to sync resources is an anti-pattern I think. / @RReverser @slightlylate
-
-
Replying to @wanderview
@wanderview@RReverser@slightlylate is SW reg in <head> advised with early flush to pre-cache while server renders <body>?2 replies 0 retweets 0 likes -
Replying to @ericf
@ericf@wanderview@RReverser: for the next 6-12 months I think state of the art will be sync on push notification & startup1 reply 0 retweets 0 likes -
Replying to @slightlylate
@slightlylate@wanderview@RReverser I want bookmark clicks and start pages to load fast for a continuously deployed app.6 replies 0 retweets 0 likes -
Replying to @ericf
@ericf@wanderview@RReverser: note that your SW can decide that it's too old and default to network. Bad experience, but may help you cope1 reply 0 retweets 0 likes -
Replying to @slightlylate
@slightlylate@ericf@RReverser Default to network is not bad if you have your http cache headers configured properly.1 reply 0 retweets 1 like -
Replying to @wanderview
@wanderview@ericf@RReverser: default to network is always bad for top-level response. Always. Avoid when possible.1 reply 0 retweets 0 likes -
Replying to @slightlylate
@slightlylate@wanderview@ericf@RReverser argh:( I keep getting different advice about this :( I thought network first was always best.1 reply 1 retweet 0 likes -
Replying to @marcosc
@marcosc@wanderview@ericf: network first is reliable#perffail. It puts slow radio between users and seeing content.2 replies 0 retweets 0 likes -
Replying to @slightlylate
@slightlylate@wanderview@ericf even if cache directives are set properly? It should go straight to (fast) http first, of fail, then SW.4 replies 0 retweets 0 likes
@marcosc @wanderview @ericf: yes, even then. You're implicating an unreliable network stack in even a 302. Fugheddaboutit.
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.