A 100/100 Lighthouse score is a teaching tool, not a trophy you must display on the homepage. It is still a useful drill. If you can get a static page to a clean 100 for Performance, Accessibility, Best Practices and SEO in a lab test, you understand your payload well enough to keep it fast when ads, analytics and images arrive. This guide is for sites like this one: HTML, CSS and JavaScript you control, without a heavy page-builder or a dozen optimisation plugins.

The numbers below assume you are using official Lighthouse (this site is tested with 12.8.x) in both mobile and desktop modes, with a fresh profile, not a warmed cache that makes Time to First Byte look like zero.

Know what you are measuring

Lab scores use a simulated phone or desktop, a set network, and a defined CPU slowdown. Field data — Core Web Vitals in Search Console or CrUX — comes from real users. You can ace the lab and still have a slow Largest Contentful Paint in the field if your hosting time-to-first-byte is uneven, or if a cookie banner shifts the layout. Use the lab to catch obvious waste. Use the field to see whether people actually had a good time.

The main Performance ingredients are still LCP (when the main content appears), INP or, in older Lighthouse performance maths, TBT as a proxy for how much the main thread was blocked, CLS for unexpected layout shift, and supporting metrics such as FCP and Speed Index. Accessibility and SEO have their own audits. Do not “fix Performance” by hiding text from assistive technology or by stuffing a keyword into a link that says “click here.”

Start with the document and the server

Serve HTML over HTTPS, keep the response small, and enable compression (gzip or Brotli) on the host. A homepage with thousands of words can still be fast if the HTML is ~30 KB compressed and CSS is similar. Avoid a 3 MB background photograph in the hero. If you need a visual, use a compact WebP or an SVG or a CSS gradient, as this site does in several places.

Redirects cost time. Pick one host (this site uses the apex https://freeseotools.info/) and send the www name there with a 301. Generate rules carefully with the .htaccess generator and merge them with your host’s existing file instead of overwriting it.

CSS and fonts without a traffic jam

Google Fonts and icon fonts are convenient and often expensive. Self-host a tiny subset (this site uses small Poppins .woff2 files) with font-display: swap, and preload only the weight you need for the first heading. Load the rest of the CSS after you have enough critical style for the first screen, or keep the stylesheet modest and compressed.

Bootstrap 5.3.3 is a trade-off: it gives you a consistent, accessible component set, and the minified CSS is about 30 KB compressed. That is acceptable if you are not also loading two other UI libraries and a copy of jQuery. Defer the Bootstrap JavaScript. Do not put a carousel in the hero if a static heading will do.

JavaScript: less, later, and on purpose

Every kilobyte of JavaScript can become main-thread work on a mid-range phone. Defer your own scripts. Split “needed to use the tool” from “needed to paint the article.” Third-party tags are the usual culprits. If you use Google AdSense, you can keep the official account meta tag in the head and load adsbygoogle.js only after the first scroll, click or keypress. Real users still see ads; the initial Lighthouse run is not forced to download the full ad stack before first paint. Follow current AdSense placement and consent rules when ads do load.

Do not inject a second ad network “just in case.” Do not install three analytics tools that each fire on page start.

Images, CLS and the LCP element

Give every image width and height (or an aspect-ratio) so the layout does not jump. Lazy-load below-the-fold images. Leave the LCP image — often a hero or a title — as a high-priority, correctly sized asset, or make the LCP a text heading so you are not waiting on a photograph. Local, compressed WebP thumbnails at 480×270 are plenty for a card grid. Distant, 1200-pixel Unsplash downloads are not.

If a webfont swap changes the heading size, consider a fallback font with a similar x-height, or accept a tiny shift rather than hiding text until the font arrives (which harms both paint and accessibility).

Accessibility and SEO are part of the same 100

Lighthouse will fail a “perfectly fast” page that has nameless buttons, low contrast, a missing document title, or links that all say “Read More.” Use descriptive link text such as “Read Guide: Complete On-Page SEO Checklist.” Keep contrast high in both light and dark themes. Put a single H1 on the page and a logical heading order; the heading analyser will catch skips. Include a unique title, a meta description, a canonical, and a valid robots.txt. The meta tag generator and SERP preview tool help the snippet side.

A lab routine you can repeat

  1. Test a production-like build on a local server with compression enabled, then test the live URL.
  2. Run official Lighthouse mobile and desktop with storage reset. Throw away runs that hit a CDN challenge or a warmed cache if you are trying to compare fairly.
  3. Fix weighted failures first: LCP element, render-blocking CSS, long tasks, CLS sources, contrast, labels, descriptive links.
  4. Re-run until Accessibility, Best Practices and SEO are 100, and Performance is as high as your third parties allow.
  5. After a deploy, purge the CDN cache and test the live host again, because you ship what users get, not only what your laptop serves.

When 100 is the wrong goal

Once ads, consent, and a reasonably large library of content are on the page, mobile Performance may land at 99 or a little lower because of real network time and third-party work. That can still be an excellent result. Chasing a lab 100 by removing every useful image, or by blocking ads in a way that also hides them from users, is a bad trade if advertising is how the site stays free. Be honest in both directions: do not inflate scores with tricks, and do not pretend that a 70 is fine if a 2 MB hero is the only reason.

Fast pages are a habit. Keep the payload small, load third parties late, measure with official tools, and fix the next regression when you add a feature — not once a year in a panic.

A worked example on a static homepage

Suppose your homepage HTML compresses to 30 KB, the CSS to 30 KB, a font to 8 KB, and you have no hero photograph. First Contentful Paint can land near a second on a simulated mobile connection if the server answers quickly. Largest Contentful Paint may be the heading itself, which is ideal. If you then add thirty 1200-pixel JPEGs in the first screen, LCP and Speed Index will suffer even if the HTML is still small. The fix is not a plugin; it is fewer, smaller, lazy-loaded images with reserved space.

Now add a font from a third-party CDN, an icon font, and a chat widget. The lab will start to show render-blocking requests and long tasks. Remove the chat widget from the first load, self-host one font family, and replace icons with small inline SVGs. You will usually recover more Performance points than you would by shaving another 1 KB from your own CSS.

When ads are required, measure twice: once with the delayed loader (what a quiet first visit looks like in the lab) and once as a person who has already scrolled (what a reader sees). If the scrolled experience is painful, the issue is not Lighthouse being picky — it is the tag weight, and you may need to reduce other third parties to make room.

Common false savings

Minifying HTML you already write tightly is fine but will not save a 4 MB image. Lazy-loading the LCP image can make the score worse. Setting a very short cache header on static assets will not help first-time visitors and can hurt repeat ones. And running Lighthouse against a page that is still behind a CDN JavaScript challenge will look like a 403, which is a measurement problem, not a reason to rip out your content.

Fix the real budget: bytes, main-thread time, and layout stability. Then re-test on the live domain after cache purge, on mobile and desktop, and keep the JSON so you can compare next month’s deploy with this one.