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.
For readers in the US
Served close to your customers
Every site we build is served from Cloudflare's network, which has data centres in cities across the US, from Ashburn and New York to Chicago, Dallas and Los Angeles, so pages reach your customers from nearby rather than from the UK.