DEV Community

Alex MacArthur
Alex MacArthur

Posted on • Originally published at macarthur.me on

Lighthouse is Not Your End User

You might’ve used Google’s Lighthouse (also built into its PageSpeed Insights tool) for auditing page performance. It’s great! Even fun — the “get a perfect Lighthouse score” game is a personal favorite.

Still, it’s good to remember how it relates to the Core Web Vitals.

Lighthouse is a _diagnostic_ tool that help you identify opportunities to potentially improve user experience.

The Core Web Vitals, on the other hand, are metrics derived from actual user data, and are intended to be a better picture of how real users are experiencing your site.

Don’t get caught up in appeasing the former. Just use it as a “lighthouse” 😎 to help know if you’re headed in the right direction, and to identify any big problem areas you need to address.

If you get the purposes of these tools mixed up, you risk Goodhart’s law taking hold. Your Lighthouse scores become the end game, and you begin to neglect the thing those metrics exist to ultimately serve — your users.

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay