Skip to content
Every tutorial here is 100% free — and always will be
LSLovableStudent

How do I improve Lighthouse scores?

Last checked 31 Aug 2026

Short answer

Run Lighthouse to find your worst-scoring category, fix the top 2-3 flagged issues (usually images, unused JavaScript, or render-blocking resources), and re-run it to confirm before moving on.

Run the report

Use Chrome DevTools → Lighthouse, or pagespeed.web.dev, on both mobile and desktop — scores often differ significantly between them.

What the categories mean

  • Performance: load speed and responsiveness — usually the score people mean by "Lighthouse score".
  • Accessibility: contrast, labelling, keyboard navigation.
  • Best Practices: security headers, console errors, image aspect ratios.
  • SEO: meta tags, crawlability, mobile-friendliness.

Fixing the Performance score

Lighthouse lists specific "opportunities" ranked by estimated impact. Common ones in Lovable apps:

  1. Properly size and compress images — usually the single biggest win.
  2. Eliminate render-blocking resources — defer non-critical scripts/styles.
  3. Reduce unused JavaScript — remove dead code or unused libraries.
  4. Minimise main-thread work — often caused by heavy client-side logic running on load.

Prompting Lovable

Lighthouse flags [paste the specific opportunities listed]. Fix these starting with the highest estimated impact, and don't touch anything else.

What usually goes wrong

  • Chasing a perfect 100 instead of meaningful real-world speed — diminishing returns set in fast after the big wins.
  • Fixing Accessibility or SEO issues while ignoring Performance, when Performance is usually what "slow site" complaints are actually about.
  • Not re-running Lighthouse after each fix, so you can't tell which change actually helped.
  • Testing only on desktop — mobile scores are usually much lower and matter more for real visitors.

See /questions/how-do-i-improve-core-web-vitals for the metrics Lighthouse's performance score is built from.

Sources

Was this answer helpful?

Related questions

Website made, maintained and hosted by PromptSites.com

PromptSites logo