What a fast website actually needs.

Speed is mostly about what a page does not do. The few things that make a real difference on a phone, from building our own site.

On this page 5 sections
  1. 1. Send less
  2. 2. Keep fonts on your own server
  3. 3. Stop the page from jumping
  4. 4. Animate cheaply
  5. 5. Measure on a phone, not your laptop

Most people judge a website in the first seconds on their phone, often on a patchy connection. A fast site is rarely the result of one clever trick. It is the result of a page that does very little it does not need to.

Here is what made the difference when we built this website.

1. Send less

Every image, font and script is something the phone has to download before the page feels ready.

  • Size images for where they appear, and use modern formats such as WebP. A photo shown at card size should not be downloaded at poster size.
  • Load images below the fold only when they are needed.
  • Question every third-party script. Chat widgets, trackers and embeds each bring their own downloads, often from several other servers.

2. Keep fonts on your own server

Loading fonts from another service means the browser has to connect to that service before it can show your text properly. Serving the font files from your own site removes that step, and keeps your visitors’ requests on your own domain.

3. Stop the page from jumping

You have seen it: you go to tap a button, the page shifts, and you tap something else. Usually this happens when a font or an image arrives late and pushes the layout around.

  • Give images their width and height, so the space is reserved before they load.
  • Use a fallback font sized to match your web font, so the switch is invisible.

We had this on our own home page: the heading reflowed when the font arrived. Matching the fallback font’s size removed the jump completely.

4. Animate cheaply

Movement can make a page feel alive, or make it stutter. The cheap way is to move things without redrawing them — sliding and fading. The expensive way is redrawing a complex picture many times a second, or blurring whatever sits behind a moving element.

Our first hero animation redrew its light trails on every frame, and scrolling suffered. Drawing them once and only moving the drawing made it smooth, even on slow devices.

5. Measure on a phone, not your laptop

A site that feels instant on office Wi-Fi can feel slow on a phone on the move. Test on a real phone, or slow your browser down to a mobile connection, and check again after every change.

What we build: Our website service covers responsive, accessible builds and hosting set-up, with support offered end to end.

See websites and web apps →

More from Innovoot Technologies Private Limited