@slightlylate curious if you know the average startup time for a service worker?
-
-
Replying to @kylemathews
@kylemathews: in the 10's of ms, but amortized across all resource requests for the page. Important to serve shell from cache2 replies 0 retweets 1 like -
Replying to @slightlylate
@kylemathews: specifically, if you don't, that's 10's of ms of waste vs 10's of ms in service of beating the network (which is easy to do).2 replies 0 retweets 1 like -
Replying to @slightlylate
@slightlylate ok good to know. If you're using a service worker as a local API cache do you see the same 10's ms delay on every request?2 replies 0 retweets 0 likes
Replying to @kylemathews
@kylemathews: no, only startup. Instant dispatch after navigation (startup)
4:25 PM - 29 Dec 2015
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.