Technical · 3 min read · Jakub · updated
If a website takes more than a few seconds to load, some people close it before they see anything. Speed also affects your position in Google. We show how to measure speed, where the problem most often lies and what to fix first.
How to measure speed
Go to pagespeed.web.dev and enter your site's address. Google's tool shows a score from 0 to 100 for mobile and desktop, plus a list of things to improve. Look at the mobile score above all, because that's where the site loads more slowly, and most clients use their phones.
If your site gets enough visits, at the top of the report you'll also see data from real users, the Core Web Vitals. Those are what count for Google.
What Core Web Vitals mean
LCP: main content load time
How long it takes for the largest element of the first screen to appear, usually a photo or a heading.
INP: response to a click
How quickly the page responds when you click a button or open a menu.
CLS: content shifting
Whether elements jump around while loading, e.g. when a photo or banner loads and pushes the text you're reading.
The most common causes
Images that are too big
A photo straight from the camera weighs several megabytes, while a few dozen kilobytes are enough on a website. It's the most common cause and the easiest to fix.
Too many plugins and a heavy theme
Page builders and elaborate themes load code for features you don't use. Every plugin adds its share.
Third-party scripts
Chat, ad pixels, maps, YouTube videos and review widgets. Each one connects to another server and slows the page down.
Weak hosting
The cheapest shared hosting can take a second or more to respond before it even starts sending the page.
What to fix first
- 1
Shrink your images
Save them as WebP or AVIF, at the size they're displayed. Let images below the first screen load only as the visitor scrolls.
- 2
Remove unnecessary plugins and scripts
Go through your plugins and scripts and remove everything you don't use. Chat and maps can load only after a click.
- 3
Turn on caching and a CDN
Caching stores a ready-made page instead of building it on every visit. A CDN such as Cloudflare sends it from the server closest to the visitor.
- 4
Tidy up your fonts
One font family in two weights is usually enough. Host fonts on your own server rather than loading them from elsewhere.
- 5
Consider a change of technology
If the site is still slow after the fixes, the problem is in the foundations. A rebuild will then cost less than more patches.
When fixes aren't enough
A site built on a heavy page builder with dozens of plugins has its limits. It can be sped up, but it won't become a site that loads in a second. That's the moment to read about when to rebuild an old website and how WordPress differs from a site written in code.
Our sites have at least 90 points in every Lighthouse category on mobile in their handover criteria. We speed up existing sites as part of care and development, where improving Core Web Vitals is one of the add-ons.
FAQ
Does site speed affect Google rankings?
Yes, Core Web Vitals are one of the factors Google takes into account. Content matters more, but between similar sites the faster one has the edge. Above all, a fast site turns more visitors into clients.
What's a good PageSpeed Insights score?
90 to 100 is good, 50 to 89 needs improvement, below 50 is poor. The score varies by a few points between runs, so measure several times.
Why does my site load fast for me while the test shows a poor score?
Because the test simulates an average phone and a slower connection, while you probably have fast internet and the site cached in your browser. Many of your clients see the site the way the test does, not the way you do.