4 ms·
In theory I guess, but I'd bet that basically every SPA is using enough JS libs that the initial load is much bigger than a bunch of halfheartedly-optimized bas
by ufmace 5y ago
In theory I guess, but I'd bet that basically every SPA is using enough JS libs that the initial load is much bigger than a bunch of halfheartedly-optimized basic HTML. I bet somebody somewhere has written a SPA-style page designed to be super-optimized in both initial load and API behavior just because, but I don't think I've ever seen one.
- contriban 5y agoI agree with the general sentiment, but if you used Facebook and YouTube you know they respond immediately on tap, even if the view hasn’t completely loaded. They are SPA-style pages. Unfortunately they are the exception as there are a lot of awful SPAs that focus on looking cool while they’re barely usable. Looking at you, Airbnb.
- 10000truths 5y agoFacebook and YouTube can afford to use SPAs without worrying too much about performance penalty because they invest massive amounts of effort into highly optimized and widespread content delivery networks, to the point where many ISPs literally host dedicated on-site caches for them.
- robertlagrant 5y agoThe nice thing about SPAs is you can push them out to the edge with a CDN quite easily.
- ric2b 5y agoEasily compared to what?
- robertlagrant 5y agoCompared to non-SPAs.