Guides · Business
How to improve your mobile Lighthouse score: the fixes that moved the number.
Practical steps to raise a mobile Lighthouse performance score: images, fonts, render-blocking CSS and JavaScript, caching.
Key takeaways
- Lighthouse is a lab test of one page load on a throttled mobile profile. It is a useful guide, not the whole truth.
- Biggest wins are usually images, render-blocking resources, fonts and unused JavaScript.
- Fix one thing at a time and re-run, because scores vary between runs.
- Real users matter more than a number. Check field data too.
What Lighthouse measures
Lighthouse runs a page in a simulated mobile environment and reports a performance score based on metrics such as Largest Contentful Paint (LCP), Total Blocking Time (TBT) and Cumulative Layout Shift (CLS). It also gives accessibility, best practices and SEO scores. See Core Web Vitals explained.
I have seen it move a lot with simple changes. On my own projects, the Score Delta site improved from 73 to 100 on mobile after a round of fixes, and a coaching institute's PHP site was measured at 91. Your result will depend on your page and your hosting, so treat these as examples, not promises.
1. Images
Images are usually the heaviest part of a page.
- Serve WebP or AVIF instead of large JPEG or PNG. See WebP vs AVIF.
- Resize to the display size. Do not ship a 3000-pixel image into a 400-pixel slot.
- Use
srcsetandsizesso phones get small files. - Set
widthandheightto prevent layout shift. - Lazy-load below-the-fold images with
loading="lazy", but not the main hero image.
2. The LCP element
Find out what the Largest Contentful Paint element is, often a hero image or a heading. Make it load early: no lazy loading, a small file, and a preload hint if needed.
3. Render-blocking CSS and JavaScript
- Keep critical CSS small. Avoid large frameworks if you use a fraction of them.
- Add
deferto scripts that do not need to run before the page shows. - Remove unused libraries. Each one costs download and execution time.
- Avoid chains where CSS imports more CSS.
4. Fonts
- Use
font-display: swapso text shows immediately. - Self-host and subset fonts, and load only the weights you use.
- Preload the main font file if it affects LCP.
5. Caching and compression
Enable Gzip or Brotli and use long cache lifetimes for static files. See Nginx cache headers and compression. A fast server response (TTFB) lifts everything else.
6. Layout shift
- Give images, ads and embeds fixed dimensions.
- Do not inject content above existing content after load.
- Reserve space for late-loading elements.
7. Third-party scripts
Chat widgets, analytics and tag managers add weight. Load them after the page, or drop the ones you do not need.
Testing properly
- Test in an incognito window with no extensions.
- Run it three or more times and look at the median.
- Test on the deployed site, not only on localhost.
- Check PageSpeed Insights for field data from real users, if available.
A simple order of work
- Run Lighthouse and read the opportunities list.
- Fix images first.
- Fix render-blocking resources and fonts.
- Fix caching and compression.
- Re-test and repeat.
Frequently asked questions
Is 100 required for SEO?
No. Good speed helps users and may help rankings, but content quality and relevance matter more.
Why does my score change between runs?
Network and CPU conditions vary. Use the median of several runs.
Does a framework hurt the score?
It can if it ships a lot of JavaScript. It is possible to get good scores with frameworks, but you must manage the bundle.
Score Delta went from 73 to 100 on mobile Lighthouse. Read how.
Read the case study