News for hackers. Stuff that matters.
Re:Why I hate your Single Page App by tjoff on Thursday August 31, 2017 @12:58PM (#15141730)
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.

Re:Why I hate your Single Page App by philosopherlawr on Thursday August 31, 2017 @01:25PM (#15141987)
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.