PSA: if you add a Service Worker to your app *but do not use it to handle top-level requests*, things *will* be slower.
-
-
Replying to @joshduck
: well, the most important thing is that people build in the offline-first style. It makes the web *awesome*
1 reply 0 retweets 0 likes -
Replying to @slightlylate @joshduck
there are more use cases than just offline.The sooner browser devs ack that, can figure out how to make stuff faster
1 reply 0 retweets 0 likes -
this is like saying "you can write arbitrary code in SW. But use it only to make your website offline".All else slow
1 reply 0 retweets 0 likes -
Replying to @everConfusedGuy
: sorry, no, this is saying "there is a quantifiable engineering trade-off, please do not make bad choices"
1 reply 0 retweets 0 likes -
Replying to @slightlylate @everConfusedGuy
: and FWIW, SW startup perf is a huge effort right now, as is navigation preload
1 reply 0 retweets 1 like -
Replying to @slightlylate @everConfusedGuy
: so we (Chrome) understand what you're saying, but you also need to be measuring and making good trade-offs
2 replies 0 retweets 0 likes
: and the best way to win the race here will *always* be to use the SW to eliminate critical path RTTs.
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.