Jun 21, 2026 · 5 min read
Lighthouse 100: which flags to fix and which to ignore
- performance
- web
- nextjs
How I got this Next.js site to a Lighthouse 100, cut LCP from 2.8s to 1.0s, and why some red flags in the report are unscored noise you should leave alone.
This is how I took this portfolio to a perfect Lighthouse 100, what actually moved the score, and which red flags I left alone on purpose. Short version: the wins were boring, the biggest jump came from a choice that looks wrong, and a chunk of the report doesn't count at all.
I told myself I'd "just check the Lighthouse score". Three hours later I was reading about device pixel ratios and arguing with a number. If that report gives you the itch to make everything green, read this first.
Image optimisation: the boring wins
Almost everything that moved the needle was unglamorous.
Thumbnails. The video thumbnails on the home page were YouTube's
maxresdefault (1280×720) at quality 85. They're small, decorative cards. I dropped
them to quality 65 and served them at around 480px instead of the 750px variant the
browser was reaching for. The "image delivery" savings went from 174 KiB to about
12 KiB. Nobody will see the difference on a 360px-wide thumbnail.
Book covers. I was pulling them live from Open Library through Next's image
optimiser, and the optimiser kept timing out: ERR_TIMED_OUT in the console, three
times. Open Library's cover server is slow and moody, and every cold request had to
fetch from it before optimising. The fix wasn't clever. Download the five covers
once, put them in /public, serve them locally. The optimiser reads a fast local
file now. No more timeouts.
Fonts. I was preloading the monospace font, and nothing above the fold uses it. On a throttled connection that's one more file racing the hero image for the first bytes. I stopped preloading it. The hero got more room.
No tricks. Read what's actually on the wire and remove the silly parts.
LCP: the hero image decision that looks wrong
The Largest Contentful Paint element is my photo at the top. The obvious move is to
let Next optimise it: AVIF, a responsive srcset, the works. I did exactly that,
and cold LCP on emulated Slow 4G got worse.
Here's why. Routing the hero through /_next/image adds an optimiser round-trip.
On a cold run that's an extra hop before the most important pixel on the page can
paint. The image was already a small, right-sized WebP, so I went back to serving it
directly, with a priority preload that hits the CDN straight away.
I also measured an AVIF version to make sure I wasn't just being stubborn. At the same quality it came out larger than the WebP. Sometimes the optimisation you skip is the optimisation.
That trade shows up as an "Improve image delivery" flag worth 10 KiB. I'm keeping it.
Unscored Lighthouse flags you can ignore
A lot of what Lighthouse flags is tagged Unscored. It shows up in the report, looks red and urgent, and doesn't touch your score.
- "Reduce unused JavaScript, 26 KiB." I inspected the chunk. It's
react-dom, the runtime of the framework the whole site is built on. Those "unused" bytes run the moment anything becomes interactive. You can't delete React from a React app to please a gauge. - "Avoid long main-thread tasks." That's hydration. The report itself says these numbers don't directly affect the performance score.
- "This image is larger than it needs to be (720×540 for a 364×273 display)." The sneakiest one. Lighthouse compares against a 1× screen. Almost every phone is 2× or 3×, where a 720px image in a 360px slot is exactly right. Shrink it to please the flag and you ship a blurry photo to every real visitor.
That last one is the whole lesson in miniature. The metric is optimising for a device almost nobody uses.
The result: Lighthouse 100 and LCP from 2.8s to 1.0s

A perfect 100: performance, accessibility, best practices and SEO, all green. The biggest single jump came from the part that looked wrong. Serving the hero directly and dropping the preload on a font the first paint doesn't use took Largest Contentful Paint from 2.8s to 1.0s on throttled mobile. The image and cover fixes did the rest.
And under that perfect score, the report still flagged "reduce unused JavaScript" and a long main-thread task, red as ever. A 100 doesn't make them go away, because they were never the problem. They're unscored framework noise.
The points I deliberately didn't chase would only have traded real, visible quality for numbers that don't count:
- shrinking my own face to satisfy a 1× metric
- stripping the serif preload and getting a flash of fallback text instead
Treat the score as a smoke alarm
Do the work. Right-size your images, kill the slow third-party fetch, don't preload what the first paint doesn't need. Then stop. Learn which flags are real and which are vanity, find out what your visitors' devices actually are, and have the discipline to leave the rest alone.
It's the same approach I take on every website I build, whether it's a Next.js site like this one or a plain HTML, CSS and JavaScript site like Sunshine Massage with no framework to hydrate at all. And speed is only half of it: here's why I build security first too.
The green number is for you. The fast, sharp page is for them. Want one? Let's talk.