: right. That's pretty much what every good native app does. Also UI to say "getting updated data..."
-
-
Replying to @slightlylate
Thanks for this, and agreed this makes more sense!
2 replies 0 retweets 1 like -
Replying to @hdjirdeh
: also, would love to see the app and trace it! Always looking for great examples of Angular PWAs. /cc
@robwormald2 replies 0 retweets 1 like -
Replying to @slightlylate @robwormald
of course!https://angular2-hn.firebaseapp.com
1 reply 0 retweets 1 like -
Replying to @hdjirdeh
: thank you! Are you looking for feedback on the app? Happy to trace/analyze if you like.
2 replies 0 retweets 2 likes -
Replying to @slightlylate @robwormald
Appreciate you taking the time to analyze it, genuinely can't thank you enough
1 reply 0 retweets 0 likes -
Replying to @hdjirdeh
: so here's a WPT run on the site using an Emerging Markets connection (slow 3g) on a Moto G4: https://www.webpagetest.org/result/170215_QH_MN7N/ …
1 reply 0 retweets 1 like -
Replying to @slightlylate @hdjirdeh
: a few things jump out: 1.) the data is fetched very late. Can fetch be started earlier? 2.) ~150K of script gzipped
2 replies 0 retweets 1 like -
Replying to @slightlylate @hdjirdeh
: probably worth investigating how you can split up and slim down the scripts. Also, <link rel="preload"> them.
4 replies 0 retweets 2 likes -
Replying to @slightlylate @hdjirdeh
is there a way to <link rel="preload"> something (JSON) i'm going to window.fetch() later? couldn't work it out
3 replies 0 retweets 0 likes
: There's perhaps some overlap here with Navigation Preload. Happy to chat offline about that.
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.