All articles

How to speed up an ecommerce website: 9 fixes that work

Learn how to speed up your ecommerce website in priority order: images, scripts, hosting, caching and checkout, with Core Web Vitals targets to aim for.

Row of clear glass discs on a coral red surface, four spaced apart and two at the end touching so their edges merge.

To speed up an ecommerce website, measure it first with PageSpeed Insights. Then fix the biggest causes of slowness in order: compress and resize product images, remove unused apps and third-party scripts, enable caching and a CDN, upgrade slow hosting, and simplify checkout. Aim for LCP under 2.5 seconds, INP under 200 ms and CLS under 0.1.

At a glance

How do you check how fast your ecommerce website is?

Run your key pages through PageSpeed Insights and compare lab results with real-user field data before changing anything. Without a baseline you cannot tell which fix helped.

Test the homepage, a category page, a product page and checkout separately, and look at mobile first. Most shoppers browse on their phones. Mobile is where slow pages hurt most. GTmetrix and Lighthouse are good alternatives, and Lighthouse is built into Chrome’s developer tools.

Lab scores come from a simulated test, while field data comes from real visitors. They often disagree, and Google uses field data, so treat the lab score as a guide to what to fix rather than the final verdict.

What the three Core Web Vitals mean

Metric Good threshold Fix most likely to move it
LCP (how fast the main content appears) Under 2.5 seconds Image optimisation, faster hosting, caching
INP (how quickly the page responds to taps and clicks) Under 200 ms Removing or deferring JavaScript and third-party scripts
CLS (how much the layout jumps) Under 0.1 Setting image dimensions, reserving space for banners and embeds

INP replaced the older FID measure, so if you read advice that still talks about FID, it is out of date. Write down your scores for each page type. You will want them later to prove the work paid off.

How do you optimise product images to speed up your store?

Convert images to WebP or AVIF, resize them to the size they display at, compress them, and lazy-load anything below the fold.

Cyan card with a pink mountain and sun icon clamped in an orange bench vice, a visual idea of squeezing images down in size
Squeezing a picture down to size is the idea behind compressing and resizing product images before they reach your store.

Never upload camera-size originals. A 6000 pixel photo shown in a 600 pixel slot wastes bandwidth on every visit. Automated image tools can resize and convert on upload, and many CDNs will do it on the fly and serve the right size to each device.

Lazy loading without hurting LCP

Do not lazy-load the main hero image or the first product image. That’s usually your LCP element. Delaying it makes the score worse. Lazy-load the gallery thumbnails, related products and anything further down.

Stop the page jumping

Set width and height on every image so the browser reserves space before it loads. This is the simplest way to improve CLS.

Video and embeds

Autoplaying video can undo all your image work. Use a poster image and load the player only when someone clicks. Lite embeds for YouTube and similar services do the same job with far less code.

Which apps, plugins and scripts are slowing your site down?

Every plugin, app and tracking script adds weight, so audit them and remove or defer anything that does not earn its place. It’s often the quickest win after images.

List what loads on each page: chat widgets, review apps, pop-ups, heatmaps and tag manager tags. Ask what each one earns you. If nobody can answer, remove it and re-test.

  • Defer or delay non-critical JavaScript so the page responds sooner, which helps INP.
  • Check quick-view and carousel features on category pages, as they often load extra code for every product shown.
  • Judge plugin quality by how recently it was updated and whether the developer offers proper support.
  • Keep your platform and theme versions up to date, as updates often include performance fixes.

How do caching, a CDN and hosting improve ecommerce speed?

Caching and a CDN serve pages from closer to the customer, while good hosting keeps server response time low, which is the base for every other fix. If the server is slow, nothing else can fully make up for it.

Caching

Page and browser caching stop your server rebuilding the same page for every visitor. Take care to exclude the basket, checkout and account pages, because they are personal to each customer and caching them can cause real problems.

CDN

A content delivery network keeps copies of your images and files on servers around the world. Cloudflare and bunny.net are two examples of providers that do this.

Hosting and server location

For UK customers, choose hosting with UK or nearby European servers. Distance adds delay, and it is an easy one to avoid. A sign your hosting is the bottleneck is a slow time to first byte, especially when traffic picks up. Larger catalogues may also need database and server tuning, such as better indexing and tidier queries.

How do you speed up a Shopify or WooCommerce store?

On Shopify, keep the theme lean and apps few; on WooCommerce, use caching, current PHP and WooCommerce versions and a minimal plugin set. The principles are the same, but the levers differ.

Shopify

Avoid heavy theme customisation, remove apps you no longer use and clear out leftover app code that stays in the theme after uninstalling. Review quick view on collection pages, as it can add a lot of load.

WooCommerce

Use a caching plugin configured for WooCommerce, keep WordPress and WooCommerce on their latest versions and tidy the database of old revisions and expired data.

When the platform is the limit

Sometimes you have trimmed everything and speed still stalls, because the platform itself restricts what you can change. That is where a bespoke build can be the faster option. It carries only the code your store needs.

How do you make checkout faster?

Keep checkout light by removing non-essential scripts, limiting form fields and loading payment tools only when needed. Checkout is where slowness costs sales most directly, because the customer has already decided to buy.

  • Strip marketing scripts and pop-ups from checkout.
  • Ask only for what you need to take the order.
  • Offer fast payment options such as wallets, which save typing.
  • Test on a mid-range mobile on a slower connection, not just your own fast phone and office wifi.

Where should you start? A priority order for the fixes

Work from the biggest, cheapest wins to the larger changes.

  1. Test key pages on mobile and record a baseline.
  2. Compress, resize and convert product images.
  3. Set image dimensions to stop layout shift.
  4. Remove unused apps, plugins and scripts.
  5. Defer non-critical JavaScript.
  6. Turn on caching, excluding basket and checkout.
  7. Add a CDN.
  8. Move to faster hosting with UK or nearby servers if response times stay slow.
  9. Simplify checkout and re-test.

How often should you test and who can help?

Re-test after every release or new app and review Core Web Vitals monthly, since speed drops as a store grows. Small additions pile up without anyone noticing.

Set a performance budget for page weight and the number of scripts, so new features have to fit within it. Keep an eye on the Core Web Vitals report in Search Console, which shows how real visitors experience your pages.

Frequently asked questions

Does website speed affect SEO?

Yes. Core Web Vitals are part of how Google assesses page experience, and slow pages also lose visitors before they buy. Speed is one factor among many, so it works best alongside good content.

What is a good page load time for an ecommerce site?

Aim for your main content to appear within 2.5 seconds (LCP), with pages responding within 200 ms (INP). The faster the better, especially on mobile.

How do I speed up my Shopify website?

Keep the theme lean, remove unused apps and their leftover code, compress images, and review quick view on collection pages.

Why is my WooCommerce site so slow?

Common causes are too many plugins, no caching, outdated PHP or WooCommerce versions, large images, a cluttered database or underpowered hosting.

What is INP and how do I improve it?

INP, or Interaction to Next Paint, measures how quickly a page responds when someone taps or clicks. Improve it by removing, deferring or delaying heavy JavaScript and third-party scripts.

Do I need a CDN for a UK ecommerce store?

It is not essential, but it usually helps. A CDN serves images and files from nearby servers and takes load off your hosting, which is useful during busy periods.

How can I speed up my site on mobile?

Serve smaller images, cut scripts, avoid heavy pop-ups and test on mid-range phones over slower connections. Check mobile results first in PageSpeed Insights.

Can I speed up my ecommerce website for free?

Partly. Testing tools are free, and you can remove unused apps, compress images and set image dimensions at no cost. Hosting upgrades and bespoke development usually cost money.

Need a website that does more?

Tell us what your site needs to do. We'll design, build and look after it.

Start a project