Why website speed matters, and how to fix a slow site

A slow site loses visitors before they've read a word, and Google takes speed into account when it ranks pages. The good news: most slow sites are slow for the same few reasons.

What Google measures

Google's Core Web Vitals boil speed down to three numbers. Largest Contentful Paint — how long the main content takes to appear — should be 2.5 seconds or less. Interaction to Next Paint — how quickly the page responds when someone taps — should be 200 milliseconds or less. Cumulative Layout Shift — how much the page jumps around as it loads — should be 0.1 or less.

You can see your own site's numbers in Google Search Console or PageSpeed Insights.

Images, nearly always

The most common cause of a slow site is images uploaded straight from a camera or a designer's files: several megabytes each, shown at a fraction of that size. Before Ofena's new site launched, its images went from 78.5 MB to 15.4 MB — the same pictures, encoded properly and sized for the screen they're shown on.

  • Use modern formats such as WebP.
  • Make each image only as large as it's displayed, with a smaller version for phones.
  • Load images further down the page only when they're about to be seen.
  • Always set an image's width and height, so the page doesn't jump when it arrives.

Everything else that slows a page down

  • Third-party scripts and stylesheets — chat widgets, trackers, icon sets loaded from another server. Each one is another connection to wait for.
  • Fonts from another service instead of from your own domain.
  • Hosting far from your visitors. A global network like Cloudflare's serves pages from close to whoever asks for them.

We did it to our own site

Our icons used to come from a full icon set on a third-party server — around 288 KB of stylesheet and fonts that every first visit had to wait for. We now serve only the icons we use, from our own domain, in under 4 KB. Same icons; nothing to wait for.

Got a project like this?

Drop your email and a line about it. We'll come back with ideas, timings and a quote — usually within one working day, wherever you are.

Or email [email protected]

Already working with us?

Something gone wrong on a live site? Email us and we'll get straight on it. [email protected]

By submitting, you agree that we'll store your email address (and any message) along with your IP address, which we use to estimate your general location, and may contact or market to you about our services. See our Privacy Policy.