How to speed up a slow website

Why websites slow down, how to find the cause, and practical fixes for images, scripts, hosting, fonts and plugins.

By the UK Technology Hub teamPublished 4 minute read

The short answer

Most slow websites are caused by oversized images, too many scripts and plugins, heavy themes or page builders, slow hosting and third-party tools such as chat widgets and trackers. Measure first, then fix the biggest problems: compress and resize images, remove unused plugins and scripts, enable caching, use a content delivery network and choose decent hosting.

Speed affects everything: how long visitors stay, whether they enquire or buy, and how search engines see your site. Slow pages are especially painful for mobile visitors on patchy connections. The good news is that many speed problems have straightforward fixes.

Step 1: Measure properly

Before changing anything, measure:

  • PageSpeed Insights tests a page and shows real-user data where available.
  • Google Search Console shows which groups of pages pass Core Web Vitals.
  • Browser developer tools show which files load, how big they are and how long they take.

Test your most important pages, such as the home page, top service pages, product pages and checkout, not just one. Our Core Web Vitals guide explains what the scores mean.

Step 2: Fix images

Images are usually the biggest files on a page.

  • Resize images to the size they're displayed. A 4,000-pixel photo shown at 800 pixels wastes data.
  • Compress images to reduce file size with little visible loss.
  • Use modern formats such as WebP or AVIF, which are much smaller than older JPEG and PNG files.
  • Lazy-load images further down the page so they load only when needed, but load the main hero image straight away.
  • Set width and height so the layout doesn't jump.

Step 3: Reduce scripts and plugins

Each plugin, widget and tracking script adds code that the browser must download and run.

  • Remove plugins and apps you no longer use.
  • Replace several single-purpose plugins with fewer, better ones.
  • Check which scripts load on every page and limit them to pages that need them.
  • Audit third-party tools: chat widgets, heatmaps, social embeds and ad trackers are common culprits.

Fewer scripts also mean fewer cookies to manage; see our guide to cookies and consent.

Step 4: Use caching

Caching stores ready-made versions of pages and files so they don't need to be rebuilt for every visitor.

  • Page caching serves pre-built HTML pages quickly.
  • Browser caching tells visitors' browsers to keep files like images, fonts and stylesheets.
  • Object caching speeds up database-heavy sites.

Many hosts and platforms include caching; WordPress sites often use a caching plugin or host-level caching.

Step 5: Use a content delivery network

A content delivery network (CDN) stores copies of your files in data centres around the world and serves them from the location nearest each visitor. Many modern hosts and platforms include one.

Step 6: Improve hosting

If the server takes a long time to respond, nothing else will fully fix it. Signs include slow responses even on simple pages. Upgrading from cheap shared hosting to quality managed or cloud hosting can make a big difference. Our guide to website hosting explains the options.

Step 7: Optimise fonts

  • Use fewer font families and weights.
  • Self-host fonts where appropriate, in modern formats such as WOFF2.
  • Preload the fonts used above the fold.
  • Use font display settings that show text quickly.

Step 8: Reduce CSS and JavaScript

  • Remove unused CSS and JavaScript, often left by themes and page builders.
  • Minify files to remove unnecessary characters.
  • Defer non-critical JavaScript so it doesn't block the page from showing.

Step 9: Look at the theme or page builder

Some themes and page builders produce heavy, complex code. If your site is slow despite fixing everything else, the foundations may be the problem. A lightweight, custom-built theme is often dramatically faster.

Step 10: Keep it fast

Speed drifts as content, plugins and tracking are added. Check performance monthly, test new templates before launch and review third-party tools every few months. Speed checks are a standard part of our maintenance and support plans.

Quick wins checklist

  1. Compress and resize the largest images.
  2. Remove unused plugins and scripts.
  3. Turn on caching.
  4. Enable a CDN.
  5. Remove unnecessary third-party widgets.

When to rebuild

If your site still struggles after these fixes, a rebuild on a lean foundation may be more cost-effective than continued patching. Our web development and CMS development services build sites with performance designed in, tested against Core Web Vitals before launch.

Frequently asked questions

How fast should my website load?

Aim for the main content to appear within about 2.5 seconds for most visitors, in line with Google's Core Web Vitals guidance.

Will a faster website improve my Google ranking?

Speed is part of page experience, which can help between similar pages. Faster sites also tend to convert better.

Why is my site fast on my computer but slow for others?

Your browser may have cached files, and you may have a fast connection. Test on mobile data and with tools that simulate real conditions.

This guide is general information, not legal, tax or financial advice, and details such as prices, features and rules can change. Product and company names mentioned are trademarks of their respective owners and are used only to identify those products; UK Technology Hub is not affiliated with or endorsed by them.

Related guides

All SEO, security & maintenance guides