Lighthouse is Not Your UserBe careful not to get too caught up in appeasing performance diagnostic tools.
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.
Alex MacArthur is a software engineer working for Dave Ramsey in
Soli Deo gloria.
Get irregular emails about new posts or projects.No spam. Unsubscribe whenever.