Hello there,
I'm running an Angular version performance test with lighthouse/page speed insights, and some of these tests are finishing prematurely (in the middle of the page loading), in a phase where the site is waiting for the main page content to arrive from an http request.
What is the current behavior?
Running the LH over my (Angular) website, sometimes (most of the times) finishing the test prematurely.
From performance tab I can see that there are 3 phases of the page load which are:
- Angular bootstrap
- My component (page component) initialize.
In this init phase I'm sending a request to the backend to get the page data.
This is where LH finishing the test at, while the site is waiting for this api call to response.
- Render the page content accordingly to the page data that we got from the request.
What is the expected behavior?
I would expect that LH will wait for my request to finish before it determent that the page load was done.
Environment Information
- DevTools
- Lighthouse version: 6.2.0
- Chrome version: 86.0.4240.183 (Official Build) (64-bit) (cohort: Stable)
- Node.js version: 14.3.0
- Operating System: Windows 10
Thanks a lot for LH tool, it is awesome!
I'll appreciate your help on this one,
Noam
Hello there,
I'm running an Angular version performance test with lighthouse/page speed insights, and some of these tests are finishing prematurely (in the middle of the page loading), in a phase where the site is waiting for the main page content to arrive from an http request.
What is the current behavior?
Running the LH over my (Angular) website, sometimes (most of the times) finishing the test prematurely.
From performance tab I can see that there are 3 phases of the page load which are:
In this init phase I'm sending a request to the backend to get the page data.
This is where LH finishing the test at, while the site is waiting for this api call to response.
What is the expected behavior?
I would expect that LH will wait for my request to finish before it determent that the page load was done.
Environment Information
Thanks a lot for LH tool, it is awesome!
I'll appreciate your help on this one,
Noam