Mobile app version of vmapp.org
Login or Join
Vandalay111

: Does Google's speed test api account for a SPA application? I've yet to find specifics, but does anyone know if google's page speed score account for the fact that your app may be a single

@Vandalay111

Posted in: #GooglePagespeed #PageSpeed #Performance #SinglePageApplication

I've yet to find specifics, but does anyone know if google's page speed score account for the fact that your app may be a single page application(SPA)? This could in theory change the results of the scores


// per google

Page Speed Insights measures the performance of a page for mobile devices and desktop devices. It fetches the url twice, once with a mobile user-agent, and once with a desktop-user agent.


From my understanding, the score used to only account server side rendered pages.. what about SPAs? do the scores reflect a SPA influenced web application?

thanks!

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Vandalay111

1 Comments

Sorted by latest first Latest Oldest Best

 

@Annie201

The short answer is NO. Google's PageSpeed tool does not monitor SPAs properly. It only downloads all the resources, but, for example if you were using Angular, there is a delay from when the assets got loaded to the when the app is actually running. This process is called bootstrapping. This is the main reason why the Angular team is working on Angular Universal, a server side Angular rendering engine that pre-compiles Angular apps on the server. Only then can your project be observed properly with PageSpeed. This will also give the possibility for your SPA to be crawled for SEO.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme