5 ms·
In US 55% of people carry iphone. Depending on app, people with affordable phones are not your users (b2b). Browsers would cache parsed javascript. More likly
by Chyzwar 5y ago
In US 55% of people carry iphone. Depending on app, people with affordable phones are not your users (b2b).
Browsers would cache parsed javascript. More likly loading images will be slower.
There are use cases that general perfomance matter a lot but people are obsesing on js bundle size too much.
- afavour 5y ago> Browsers would cache parsed javascript. First load is important for any public facing site. A 7-10s delay on first load means you’ve lost the game no matter what happens on a second load, because there often won’t be one. > more likely loading images will be slower True, but images do not block interaction with your site. In most SPA situations JS will.
- Dayshine 5y ago> First load is important for any public facing site. A 7-10s delay on first load means you’ve lost the game no matter what happens on a second load, because there often won’t be one. I hear this said a lot, but have never quite understood it myself. What industries have pages that are hit by new customers and need to be a big complicated SPA? Any SaaS can have a landing page/login page which it can use to background load assets needed for the service itself. And if someone already knows of and wants to use your service they'll wait a few seconds. Online shops maybe?
- afavour 5y agoYeah, online shops is a big one that comes to mind. But it’s more connected to this unnecessary proliferation of SPA sites that have no business being set up that way. Some news sites are like that, for example.