Do this before optimizing your Lighthouse score
Tags: webdev, ux, design, frontend
Published: 2022-05-16 07:35:15

## What is Lighthouse?
[Lighthouse](https://web.dev/measure/) is a tool for measuring page quality that gives you tips and recommendations in improving user experience. It gives you a score of up to 100 based on performance, accessibility, best practices and SEO.

## Is it really that important?
It's easy to fall into the trap of optimizing your Lighthouse score and trying to reach 100. It's satisfying to make small tweaks to your code and see that number go up and turn green.

It's easier to optimize what we can quantify. That's why we measure career success with salary and net worth, rather than job satisfaction and freedom. It's the same for school and some people's (🙋) obsession with grades.

If Lighthouse tells you that you have some major issues on your site, sure, go ahead and fix it. But focus on the goal. At a certain point, **there are other things you can do for your site that have much higher impact than getting your score from 90 to 100.**

## Lighthouse scores of successful websites
Overengineering distracts you from the most important things. Let's go over some famous websites and their Lighthouse scores.

### 1. RemoteOK - a directory of remote jobs, making over $2M/year
![RemoteOK Lighthouse score](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jaq061x22qagxqiva03i.png)
 

### 2. Upwork - the world's leading marketplace for freelancers
![Upwork Lighthouse score](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2xzooklizzdblqs7w9oy.png)
 

### 3. Web3 Career - the #1 result when you search "web3 jobs" on Google
![Web3 Career Lighthouse score](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zgyflwkqza3kt6vqanly.png)
 

## Instead of optimizing your Lighthouse score, ask yourself these questions.
### Does your site work well in all breakpoints?
We usually design for desktop first. Chances are, you have a high percentage of mobile users, as we're on our phones all. the. time. So don't treat your mobile experience as an after thought. It might even be more important than desktop.

### What's the goal of your website, and is it designed in a way that makes your users do what you want?
This is called a call-to-action (CTA). Whether it's a portfolio site, landing page, e-commerce or SaaS, you should know what you want your users to do before leaving, like:

- For a portfolio website, you want leads to contact you and discuss potential work.
- For a SaaS landing page, you want users to sign up for a free trial.
- For a blog, you want users to subscribe to your newsletter.

Make your CTA loud and clear by:

- Making your CTA buttons stand out.
- Writing copy that leads users to click those CTA's.
- Having a CTA section at the bottom, which users see after they've read and understood what you're offering.
![Ghost CTA section](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tkapki58o3wcygga5rbc.png)

### What do my pages look like when shared on social media?
You've written an awesome blog post. The content is absolutely 🔥. This is gonna bring a lot of value to your readers. Then you share the link on Twitter and the preview looks nothing like the blog post you were trying to tell everyone about. 👎
 
Make sure you have your meta image, title and preview right. Test them on Facebook and Twitter.
![centered.app shared on Telegram](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4c32yvo15068ju4ca8m3.png)


### What can you do to make users click throughout your site and go to different pages?
Once you get somebody to a page on your site, take advantage of it and make it easy for them to navigate to other pages. Here are a few examples:

On each blog post, talk a bit about yourself and add relevant links to get to know you more.
![ahrefs author section](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yjw5hu8j857d2eend9q8.png)
 

For products or projects or blog posts, show related content that says something along the lines of: "You might like this.."
![Zara related products section](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vv7msicitrt4biy0p260.png)
 
Breadcrumbs to go back to pages up the hierarchy.
 
![Ghost breadcrumb example](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wikzarnxgpcks5pu1h00.png)


Mega menu for a high level overview of your site.
![Stripe mega menu](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kd9t6etia8dhnxg7yr25.png) 


### Summary
Lighthouse is a great tool to detect problems with your site, and they tell you what you can do to fix those problems. That's great, but don't get stuck overengineering. Think about what other tasks you can work on that have higher impact.

This post was originally published on [trishalim.com](https://trishalim.com/blog/dont-overoptimize-lighthouse).