I just published: Progressive Web Apps with Angular 2+https://houssein.me/progressive-angular-applications …
-
-
Replying to @hdjirdeh
: loved this article; one nit: network-first isn't a great PWA pattern. Have you considered offline-first?
3 replies 0 retweets 0 likes -
-
Replying to @hdjirdeh
: you want the "shell" of the app to load from the cache no matter what so that you get reliable performance
1 reply 0 retweets 1 like -
Replying to @slightlylate
: once the shell (and previous data) load, getting new data is a great idea. The goal is to replicate what native apps do here
3 replies 0 retweets 1 like -
Replying to @slightlylate
however you make a good point in that I could load the previous data first then attempt to fetch content from the network
1 reply 0 retweets 0 likes -
Replying to @hdjirdeh
: right. That's pretty much what every good native app does. Also UI to say "getting updated data..."
2 replies 0 retweets 1 like -
Replying to @slightlylate
Thanks for this, and agreed this makes more sense!
2 replies 0 retweets 1 like
: I tried to describe some of the user value to this architecture here: https://infrequently.org/2016/05/service-workers-and-pwas-its-about-reliable-performance-not-offline/ …
-
-
Replying to @slightlylate
oooh thanks for this, will definitely be reading this and following your blog
0 replies 0 retweets 1 likeThanks. Twitter will use this to make your timeline better. UndoUndo
-
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.