Foldwren

What slows a website down

Find out the usual causes of a slow website, including oversized images, too many add ons, cheap hosting and third party scripts, and how to fix them.

A slow website is almost never slow for one big reason. It is slow because of a pile of small decisions, each of which seemed harmless at the time: one more photo, one more plugin, one more widget from a marketing tool somebody wanted to try.

Your customers feel the total. They are on a phone, on patchy mobile data, standing in a car park, trying to find your number. If the page takes too long, they go back and tap the next result. Here is what is usually weighing a site down, in the order we would look.

Images that are far too big

This is the first place to look, every time.

Modern phones and cameras produce enormous photos. They are sized for printing a poster, and a website only needs a fraction of that detail. Upload a photo straight from the camera and your visitor's phone has to download the whole poster just to show it at the width of a thumb.

Say a builder adds twenty project photos to a gallery page, each one straight off the phone. That single page can end up heavier than the rest of the site combined.

The fixes are simple:

  • Resize before uploading. A photo that will be shown across the full width of a page needs to be far smaller than what the camera produces. Ask whoever built your site what dimensions to use.
  • Compress. Good compression shrinks the file a great deal with no difference you can see.
  • Use a modern format. Newer image formats give the same quality at a smaller size. Many website platforms convert images for you.
  • Load images only when needed. Photos further down the page can wait until the visitor scrolls towards them. This is often called lazy loading.

Too many add ons

On platforms like WordPress, features are added with plugins: a slider, a gallery, a popup, a form builder, an events calendar. Each one brings its own code, and that code often loads on every page, including pages where the feature is not used.

One or two make no difference. Thirty, built up over five years, do. We regularly see sites with three different plugins doing roughly the same job because nobody removed the old one when the new one went in.

A clean out is worth doing once a year:

  1. List every add on installed.
  2. For each one, ask what it does and whether you still need that.
  3. Remove the ones you do not. Deactivating is not enough.
  4. Where two do similar jobs, keep one.

Hosting that is too cheap

Hosting is the engine. Bargain plans keep prices low by packing a great many sites onto each server, so every site gets a small slice of the machine's attention. Your pages might be lean and still wait in a queue before the server even begins to respond.

Signs that hosting is the bottleneck:

  • There is a noticeable pause before anything appears at all, and then the page arrives quickly.
  • Speed varies a lot depending on the time of day.
  • The admin area is sluggish too.

Location plays a part as well. If your customers are in Australia and your site is served from the other side of the planet, every request makes a long round trip. A host with servers here, or one that delivers pages from locations near your visitors, shortens that.

Good hosting will not rescue a bloated site. But a tidy site on poor hosting will never feel fast, and this is the one fix that requires spending a little more.

Third party scripts

These are bits of code your site loads from other companies' servers. Common ones include:

  • Analytics and advertising trackers
  • Live chat bubbles
  • Embedded maps and videos
  • Social media feeds
  • Review widgets and popups
  • Booking and scheduling embeds

Each is a separate conversation between your visitor's phone and someone else's server. You do not control how fast that server is, and a slow one can hold up your whole page.

They also accumulate. The tracking code for an ad campaign that ended two years ago is very often still there, loading on every visit, reporting to nobody.

Be ruthless. Does anyone actually answer the live chat? Does the Instagram feed on the homepage bring in work, or does it just send people off to Instagram?

How to check your own site

Skip the office computer on fast wifi. That is the best case, and your customers are not living in it.

  • Take out your phone, switch off wifi, and open your site as a stranger would. Count the seconds until you could tap the phone number.
  • Try your heaviest page, usually the gallery or the homepage.
  • Run the address through a free testing tool such as Google's PageSpeed Insights. Ignore the score at first and read the list of what it found. It will usually name the same culprits as this article.

Where to start

If your site feels slow, work in this order, because it runs from cheapest and most effective to most involved:

  1. Shrink and compress the images.
  2. Remove add ons and third party scripts you do not need.
  3. Look at the hosting.
  4. If it is still slow after all that, the site's underlying build may be the issue, and that is a conversation to have with a designer.

Most small sites get most of their speed back at step one.

Your order