A slow website costs you customers you never hear about. They tap the link, wait, get bored and go back to Google. You don't get an email saying "your site was slow so I called someone else". They just leave.
So here's how I sped up this site, which has a fully clickable operating system hidden in it and probably shouldn't be fast at all.
First, what's a Lighthouse score?
Lighthouse is a free audit tool from Google. It's built into Chrome and it's what powers PageSpeed Insights. You give it a web address and it scores your page out of 100 in four areas:
- Performance: how quickly the page shows up and becomes usable.
- Accessibility: whether people using screen readers or with poor eyesight can use it.
- Best Practices: security and general good housekeeping.
- SEO: whether search engines can understand the page.
Performance is the one most sites struggle with, especially on phones. Lighthouse tests as if you're on a mid-range phone with a so-so connection, which is a pretty honest picture of a real customer on the train.
Where I started
Running Lighthouse on my own site gave me:
- Performance 73
- Accessibility 96
- Best Practices 96
- SEO 100
The page took about 4.4 seconds before the main content showed up. Not a disaster. Not great either.
The culprit: images hiding inside the code
The main page file was about 583KB. Almost half of that, around 285KB, wasn't code at all. It was photos.
Earlier in the build, the about photo and project screenshots had been embedded straight into the page as giant blocks of text. It's a handy shortcut when you're moving fast because everything lives in one file. The catch is the browser has to download all of it before it can show you anything, including photos you haven't scrolled down to yet.
The fix
Nothing clever:
- Moved the images out into their own files. The page went from about 583KB to about 307KB.
- Lazy loading. Images further down the page only load when you scroll near them.
- Told the browser the image sizes upfront. So the page doesn't jump around while photos arrive.
- Checked the images were pixel-identical to the originals, so nothing looked different.
Round one: the result
- Performance 73 → 88
- Main content showing up in about 2.9 seconds instead of 4.4
- Accessibility, Best Practices and SEO unchanged
Same site, same design, same content. Good. But not done.
Round two: the fonts
The next thing Lighthouse kept pointing at was fonts. The site uses two Google Fonts (Viga for headings, Manrope for everything else) and the browser was waiting for them before it showed any text at all.
The fix:
- Load the fonts in the background. The page shows its text straight away and the proper fonts slot in when they arrive.
- Trimmed the font files down to the weights the site actually uses.
The catch: on a slow connection the text can show in a backup font for a split second before Viga and Manrope land. I'll take that over a blank screen.
While I was in there I fixed a couple of low-contrast bits of text and a missing page landmark that screen readers use.
The final result
- Performance 73 → 95
- Main content showing up in about 2.7 seconds (it started at 4.4)
- Accessibility, Best Practices and SEO all 100
One honest note: the mobile score moves around 10 to 20 points from run to run, so run it a few times before you celebrate or panic.
What I left alone (on purpose)
Lighthouse gave me a list of other things to fix. I skipped some of them, at least at first:
- Modern image formats like WebP. A small extra gain. Worth doing later, not urgent.
- Loading the fonts differently. I skipped this at first because I worried about the text flicking between fonts. Then I changed my mind (see round two).
- Unused code. A lot of the leftover code belongs to the VTL OS mode and the games. Most visitors never open them, but splitting it out is a bigger job than it's worth right now.
That's the part people miss. A perfect 100 isn't the goal. A site that loads quickly, looks right and doesn't break is. Chasing the last few points can make a site worse to actually use.
Do this for your own site
- Go to PageSpeed Insights and put in your web address.
- Look at the Performance score on mobile, not desktop.
- If it's under about 70, the most common cause by a mile is images that are too big. Check those first.
If your score is low and you're not sure why, or the suggestions read like a foreign language, start a chat. It's often a quick fix.