logoalt Hacker News

bbg2401yesterday at 2:53 PM2 repliesview on HN

I’m not sure I follow.

SPA’s tend to require more network round trips, sometimes significantly more based on the architecture.


Replies

Izkatayesterday at 3:01 PM

But a lot of the time they can happen in the background where the user doesn't see them, or on a part of the page the user isn't currently interacting with, preventing it from being a stop-the-world interruption.

ko27yesterday at 3:21 PM

It’s in the name: an MPA requires a page roundtrip for every navigation, while SPA requires a single page roundtrip. Any subsequent requests are part of the application itself and can be handled without disrupting UX.

show 2 replies