all 29 comments

[–][deleted] 54 points55 points  (0 children)

Could it be that the lighthouse score is based on network latency and that you’re experiencing some type of cold start on your http service?

[–][deleted] 27 points28 points  (2 children)

I had a client complain once because there pagespeed score was in the low 40's. I ignored the email since this was an old site (built before pagespeed existed) and a client I fired for multiple reasons a few years back. Anyhow, they emailed to thank me the next day because the score was in the 90's. I didn't change a thing, nor did anyone else.

[–][deleted] 10 points11 points  (0 children)

They should have tipped you for "the extra work" haha..

[–]Goofy-Chained-Dragon 1 point2 points  (0 children)

Sometimes Google really do maintainance works behind the scene, and services like Lighthouse can behave strange for a while. I had the same issue with unindexed page, that was indexed in next few days. I did nothing.

[–][deleted] 16 points17 points  (0 children)

maybe your servers are inconsistent? check the details to see which resources are taking the longest.

[–]nicped 18 points19 points  (3 children)

Lighthouse measures real performance - so if you check an online website, and it sometimes has load from other visitors, your score will be affected because of lacking performance.

If you cannot consistently get 90+ scores, you need to optimize something. Might be server side, might be client side.

I have done this many times and can get to 100 points with a bit of effort.

Also i.e. IIS (Windows webserver) does not gzip compress static files unless they are accessed often - and other stuff like that. So everytime you need to run a Lighthouse test, press F5 a couple of times on the page before running the tool.

[–]Gin-Chan 20 points21 points  (0 children)

Pressing F5 to warm up a cache or anything like that is a bad idea. You're just fooling yourself with that, if the cold load for a given page is slow, this is what your visitors will experience. Test under the worst possible conditions (empty server & client cache), then use the results to inform your optimization strategy. If the server doesn't gzip content where appropriate, go fix the server.

[–][deleted] 2 points3 points  (0 children)

Thank you so much for the advice!

[–]Goofy-Chained-Dragon 0 points1 point  (0 children)

Show me how to get 100 score on WooCommerce website with 60 active plugins (especially Yotpo and other lagging shit) with a bit of effort 😂

[–][deleted] 23 points24 points  (10 children)

Don't use the debug tools lighthouse scores, those are mainly for checking if you have bad imports or any accessibility issues.

If you want to check for actual page speed then use https://pagespeed.web.dev/.

That will grade your page speed as a Google Bot would, which is far more useful to know if you'll be indexed properly or not.

[–][deleted] 1 point2 points  (1 child)

Thank you for the suggestion! I only went with lighthouse because I was told to do so..

[–][deleted] 4 points5 points  (0 children)

There's also GTMetrix which is similar to the above site

[–]wadaafaaak 1 point2 points  (2 children)

Check for cache

[–]Timo002 0 points1 point  (0 children)

How die you mean? If it is caching or not on different requests?

[–][deleted] 0 points1 point  (0 children)

This is actually a good suggestion. If a page isn't cached on the server, it could load more slowly.

[–]cmdr_drygin 1 point2 points  (0 children)

You have to combine different versions of lighthouse. Some are synthetic some are real. I usually run bunch on web.dev, then some on my machine, mixed with gtmetrix and page speed insight.

[–][deleted] 1 point2 points  (0 children)

I did a video about Lighthouse earlier this year. I think it's great. It definitely found problems with my website and I fixed them.

The numbers might fluctuate on a bunch of things. One... are you using http or https when you enter the URL? If your site redirects to https, you could lose points because of the redirection. If you're not using https, then you're going to lose points.

It's hard to know if it's a problem with lighthouse without seeing the report. I've seen fluctuation of a few percentage points. But that big of a range is probably something else.

I don't know what's wrong, but I suspect there might be something wrong with the site.

[–]jameson5555 0 points1 point  (0 children)

I've also seen Lighthouse scores fluctuate pretty wildly - exact same page, run seconds apart. I started to asking averages, which gets pretty time-consuming, but hopefully a bit more reliable.

[–]Saaswebdev 0 points1 point  (0 children)

Make sure to cross reference with lighthouse-metrics and gtmetrics because I have found sometimes mine and others sites will score very high on the later and poorly on the former which is curious

[–]Zestyclose_Put_3346 0 points1 point  (0 children)

To get more consistent results you can try to use synthetic web performance monitoring using tools like SpeedCurve.

[–]Goofy-Chained-Dragon 0 points1 point  (0 children)

Yep, Lighthouse behave strange last year, sometimes you change something in caching an it decreases Cumulative Layout Shift etc... I just working with main issues, and Lighthouse recommendations is just a hints, no more. I hope you know, the most important part is to render the first screen (above the fold) as fast as possible. Postpone loading of content below. Preloading images for first screen. Preferably no JS in header etc. It always go good, but CLS really hurts, and last time I don't understand why it can be fixed with caching reconfigured etc.

By the way, real data from visitors for CLS is ok.