3 ms·
Heh. This reminds me of a recent pet peeve and observation of mine: progressive web apps are not faster. The Twitter Lite PWA, arguably the 'flagship' PWA ("de
by madeofpalk 9y ago
Heh. This reminds me of a recent pet peeve and observation of mine: progressive web apps are not faster.
The Twitter Lite PWA, arguably the 'flagship' PWA ("developed in partnership with Google"), takes longer to display tweets for me than regular desktop Twitter.com, and the old 'static' mobile twitter site (which loads INSTANTLY[1] you can only get with user agent trickery)
[1] Just did some testing. According to Chrome Dev Tools, old Twitter Mobile displays tweets in 124ms. PWA Twitter takes greater than 1.4s (it stopped recording screenshots), 2s according to a screen recording https://gfycat.com/PlushThornyIcefish https://gfycat.com/PlushThornyIcefish
- Veen 9y agoPWAs aren't literally faster — caching aside, they load the same data and it takes the same amount of time over the same connection. But there is a percieved performance boost if the PWA uses caching and preloading intelligently. The first load might take a little longer, loading the first tweets will take just as long, but scrolling through the timeline should be faster and page transitions can be almost instantaneous.
- madeofpalk 9y agoOkay so this actually goes straight to the heart of everything that's wrong with the web development communities obsession with PWAs. The technologies behind PWAs are fine, but people need to learn how to properly assess these buzzwords and learn if their suitable for the particular use cases of their site. The main use case of Twitter is to look at your timeline, yet Twitter Lite somehow screwed that up and made it slower, even on subsequent loads. Not only that, the particular implementation provides arguably a worse experience, doing things like showing three different 'loaders' on the path to the timeline (Twitter icon 'splash screen' (wtf, I thought this was all preached?), spinner for the whole 'app', and then spinner for the timeline). Reminds me a lot of people's obsession with Webpack and code-splitting - I'm sure a huge majority of projects will find >75% of their JS bundle weight being their dependencies.
- niutech 9y agoIn case of Twitter PWA, it loads twitts asynchronously, so they seem to load longer, but the whole PWA loads much faster in total: https://www.webpagetest.org/video/view.php?id=180402_08c5318335d348c5ce774885e87d9d9947cdb174&data=1 https://www.webpagetest.org/video/view.php?id=180402_08c5318...