Re:A single-page app is almost always worse than a multi-pag...
by TimJYoung on Tuesday October 30, 2018 @12:59PM
(#18338770)
Most JSON/data APIs for SPAs are similar to SQL database servers: maintaining a persistent connection is useful for performance reasons, but there's nothing about the API that dictates that it's required. The only state that is required across API calls is an authenticated session, and that is maintained on the server side.
[ Parent
| on HN ]
Re:A single-page app is almost always worse than a multi-pag...
by thecatspaw on Tuesday October 30, 2018 @02:40PM
(#18339996)
and even authentication can be done stateless. Makes load balancing easy since each request can go to a different server