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 @slightlylate
I've seen many teams full of smart people do exactly this and then go "why is it slower?". Uh...'cause you put another proxy in the middle.
4 replies 1 retweet 6 likes -
Replying to @slightlylate
Cannot stress this enough: Service Workers are designed to enable the offline-first architecture -- which is faster! Do not help otherwise.
4 replies 7 retweets 17 likes -
Replying to @slightlylate
, how about empty SW to get an “add to home screen” banner, will it slow things down? I see many devs doing this as a 1st step.
1 reply 0 retweets 0 likes
Replying to @pepelsbey_
: yes, and we're likely going to start detecting that and denying the prompt for sites that do that. Terrible UX.
11:27 PM - 7 Jan 2017
0 replies
0 retweets
0 likes
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.