4 ms·
As a very general answer, JS webapps will typically be slower on the first load because they require an extra step to show the content. Subsequently loaded-pag
by SquareWheel 9y ago
As a very general answer, JS webapps will typically be slower on the first load because they require an extra step to show the content.
Subsequently loaded-pages or resources can be significantly faster in webapps however, as they can request (or generate) exactly what they need.
The problem of slow initial loads is being addressed by tools like React by offering server-generated pages on the first load, and then transitioning to JS-based loading for subsequent loads. This offers the best of both worlds.