Hacker News new | ask | show | jobs
by tjoff 3219 days ago
In theory you have a point. In practice though the initial loading of the first page is so slow that it completely negates the benefits entirely.

It also doesn't work well when opening lots of tabs (which is a popular technique that helps immensely when browsing on a slow connection as pages are loaded in the background).

And if you have a really slow or spotty connection the javascript page would barely load at all.

1 comments

I think you're basing this off of old technology. With webpack 2 and HTTP/2, this is less of an issue. But, the top comment's statement I think is the most valid: if you're loading static text, then simple html pages are the best. Notice the rise in popularity of static site generators for this purpose. A SPA will win out when you have lots of interactions and you only experience the initial loading of the first page once - and then the majority of your user experience is around interacting with the app.