Live data from Hacker News

Google Lighthouse V8 – Improved CLS metrics

github.com

31–40 of 63 posts

Re: Google Lighthouse V8 – Improved CLS metrics

#31
It's good to see that they've added a Content-Security-Policy related test. I checked and Lighthouse 8.0.0 still penalizes you on "best practices" if your CSP does not allow inline styles.

Something that Lighthouse injects for testing tap-targets has inline styles, and Chrome will log a warning to the console, and Lighthouse penalizes you for that: https://github.com/GoogleChrome/lighthouse/issues/11862

Re: Google Lighthouse V8 – Improved CLS metrics

#32
post #25

Earlier quoted context omitted.

All the publishers I know (being one myself) only care about CWV for SEO.

Of course they do, but if that's the proxy metric that makes them care about usability and user experience, it's a win-win.

Agreed! And it surfaces problems we as publishers don't particularly bump into on the say to day so definitely a win-win!

Re: Google Lighthouse V8 – Improved CLS metrics

#33

Funnily enough the biggest offender of Cumulative Layout Shift (CLS) metric in my daily life is google search with its "people also search for" feature that causes me to constantly misclick. Lighthouse is great though :)

And some PM is probably looking at those misclicks and seeing “engagement”

Re: Google Lighthouse V8 – Improved CLS metrics

#34
post #9

Earlier quoted context omitted.

Looks to me that you are not. using Lighthouse for the right reasons. Lighthouse isn't there to improve your SEO. It's just a set of heuristics that make you website performance - as perceived by end users - measurable, and thus improvable. They add a quantitative score on a very qualitative process. If you clawed your Lighthouse score to 90, you should have improved your end users experience, and that's what matters…

> Your score shot back down to 72, you know have new areas to investigate, super cool ! I generally do not find it "super cool" when I suddenly/unexpectedly have new areas to investigate. In most cases, the developer dealing with lighthouse scores is someone who just built a website to a client's spec, only to find out that there are things that it flags which are very time consuming to deal with. Set expectations al…

Be proactive and inform your clients of the change. You get to do performance work, they feel taken care of by an expert, their visitors have a better experience, everyone wins!

Re: Google Lighthouse V8 – Improved CLS metrics

#35

Funnily enough the biggest offender of Cumulative Layout Shift (CLS) metric in my daily life is google search with its "people also search for" feature that causes me to constantly misclick. Lighthouse is great though :)

I'm guessing google search doesn't care about SEO

Re: Google Lighthouse V8 – Improved CLS metrics

#36

Not sure if it's just me, but the Lighthouse CLI is so buggy that I've resorted to setting to up to run in a docker container so that it doesn't crash when trying to load certain sites/configurations. Hope that they work on improving stability at some point. That being said, kudos to the team on the release, I'm sure this is a challenging project to work on!

Ironically I've found the CLI to be the only stable channel of Lighthouse. What do you see that docker fixes?

Re: Google Lighthouse V8 – Improved CLS metrics

#38

Not sure if it's just me, but the Lighthouse CLI is so buggy that I've resorted to setting to up to run in a docker container so that it doesn't crash when trying to load certain sites/configurations. Hope that they work on improving stability at some point. That being said, kudos to the team on the release, I'm sure this is a challenging project to work on!

Ironically I've found the CLI to be the only stable channel of Lighthouse. What do you see that docker fixes?

Fixes this issue basically: https://github.com/GoogleChrome/lighthouse/issues/6512#:~:te....

Tried all of the proposed solutions and this error still pops up on certain sites and certain configuration settings. Felt totally random when it started happening.

Re: Google Lighthouse V8 – Improved CLS metrics

#39
post #13
post #9

Earlier quoted context omitted.

Looks to me that you are not. using Lighthouse for the right reasons. Lighthouse isn't there to improve your SEO. It's just a set of heuristics that make you website performance - as perceived by end users - measurable, and thus improvable. They add a quantitative score on a very qualitative process. If you clawed your Lighthouse score to 90, you should have improved your end users experience, and that's what matters…

Google's Web Vitals page tracks things like Cumulative Layout Shift (CLS), First Contentful Paint (FCP), and Largest Contentful Paint (LCP). -- All of those metrics are visible in the Performance tab and are recorded by lighthouse. From [1]: "The first reason is that cumulative layout shift will become a ranking factor in May 2021." [1] https://huckabuy.com/2020/12/30/introduction-to-cumulative-l...

But notably the SEO is based on those measurements as reported by actual Chrome users who choose to share data back to Google, which isn't necessarily the same as what lighthouse measures.

Also it hasn't happened yet. They pushed the implementation date to a slow rollout starting in "mid-June"

Re: Google Lighthouse V8 – Improved CLS metrics

#40

Earlier quoted context omitted.

Well, clearly sites with no images or ads or javascript will score highly!

HN uses JS for the voting buttons.

I assume also for thread collapsing. For some reason, it is pretty slow on large threads.
Post reply on HN