Web Design

How to Speed Up WooCommerce: Fix the Part of Your Shop That's Actually Slow

How to speed up WooCommerce: find whether your shop pages, checkout or admin is slow, then fix the cause. Tell us about your shop if you'd rather we did it.

How to Speed Up WooCommerce: Fix the Part of Your Shop That's Actually Slow

If you want to speed up WooCommerce, start by finding out where your shop is slow. A WooCommerce store can be slow in three different places: the shop and product pages, the cart and checkout, or the admin. Each has a different cause, so a fix for one often does nothing for the others.

We design and build WooCommerce shops ourselves, as one team based in Leicestershire, and we judge a website on the enquiries and sales it brings in. If your shop is losing customers to slow pages, tell us about your project.

This guide shows you how to tell which part is slow, what usually causes it, which popular advice is out of date, and when tuning stops being worth the money.

Why Is My WooCommerce Site So Slow?

Most of your shop can be cached. Your homepage, category pages and product pages look the same for every visitor, so a page cache can save a finished copy and serve it in a moment.

The cart and checkout can't work like that. Every basket is different, so every visit runs fresh code and talks to your database. That's why a shop can feel quick on the homepage and still crawl when someone tries to pay.

Test the three places separately

Open a private browser window, so you're not logged in. Then time these three things:

  • A product or category page. Slow here usually points to caching, images, the theme or plugins.
  • Add to cart, change the quantity, then go to checkout. Slow here usually points to the server and the database.
  • The admin, logged in. Slow orders screens and reports usually point to years of stored data and busy plugins.

WooCommerce's own advice is the same: turn on page caching, then test add to cart, quantity changes and checkout in a private window.

Write down what you find

Note which of the three is slow before you change anything. If you change five things at once, you won't know which one helped. When we build WooCommerce web design projects, this is the first test we run, because it tells us whether we're looking at the build or the server. The same check applies to any shop on WordPress web design.

Shop and Product Pages: Caching, Images and Your Theme

Get page caching right for a shop

A caching plugin is the biggest single gain for product and category pages. But a shop needs it set up carefully. WooCommerce says the Cart, Checkout and My Account pages should never be cached. Most good caching plugins exclude them already, but check. Our guide to choosing a caching plugin explains which type suits your hosting.

Check your images

WooCommerce's troubleshooting guide names image file size as a common cause of slow pages. Resize photos before you upload them, use WebP, and lazy-load every image except the main product photo. Lazy-loading the main photo makes the page feel slower, not faster.

Look hard at the theme

Many shops run on a heavy multipurpose theme or a page builder such as Elementor. These load large amounts of code on every page, whether the page needs it or not. You can trim them, but you can't make them lean. A page builder shop will always carry that weight, which is one reason we build shops without one.

Cart and Checkout: Hosting, Cart Fragments and Your Server

"Disable cart fragments" is old advice

Many guides still tell you to switch off WooCommerce cart fragments, the script that keeps a mini cart up to date. Since WooCommerce 7.8, that script no longer loads on every page by default. It only loads where a cart widget needs it.

So before you add code to disable it, check your page source. If it's still loading everywhere, a theme or plugin is adding it back, and that's what to fix.

Is it your hosting or your site?

Because the cart and checkout can't be cached, they run on your server's PHP workers. Each worker handles one request at a time. On basic shared hosting there are only a few, so a busy hour makes shoppers queue.

Signs it's the server: the checkout is fine at quiet times and slow at busy ones, or slow even on a basic test page. Signs it's the site: it's slow at every hour, and gets faster when you switch plugins off on a staging copy.

A good host for a shop gives you a current PHP version, an object cache such as Redis, and enough PHP workers for your traffic. If your current host can't, moving is often the quickest win. See our guide to why WordPress sites slow down for the general causes.

A Slow Admin: The Database and Plugins

Order storage and HPOS

Older WooCommerce shops store orders the same way WordPress stores blog posts, which gets slow as orders pile up. High-Performance Order Storage (HPOS) moves orders into their own tables. It has been switched on by default for new shops since WooCommerce 8.2, and existing shops can switch over. WooCommerce publishes a separate guide for large stores, so test the switch on a staging copy first.

Clear out what builds up

Over the years a shop collects expired sessions, old scheduled task logs and settings left behind by plugins you removed. A clean-up on a staging copy, with a backup, can make the orders screen and reports noticeably quicker.

Count the plugins

Every extension adds code. Some add scripts to every page of the shop. Switch them off one at a time on a staging copy and time the pages after each one. The plugin that makes the biggest difference is your answer.

Where to Look First

What's slowMost likely causeWhere to start
Product and category pagesCaching, images, a heavy theme or page builderCaching plugin settings and image sizes
Cart and checkoutHosting, PHP workers, plugins running on checkoutTest at a quiet time vs a busy time
Admin orders and reportsOrder storage, old data, busy pluginsHPOS and a database clean-up on staging
Everything, all the timeThe build itselfDecide whether to tune or rebuild

When tuning stops paying

If your shop sits on a page builder, a bloated theme and dozens of plugins, each fix buys a little time until the next update. At some point you're paying to prop up a slow build. A lean rebuild, with only the code your shop needs, is often the cheaper answer over a few years.

Rather Have It Done for You?

We'll look at your shop, test the three places it can be slow, and tell you which one is holding you back. If it's a setting or the hosting, we'll say so. If the theme, a page builder or a pile of plugins is the real cause, we'll rebuild your shop lean on WooCommerce through our WordPress web design service.

Ecommerce builds cost £5,000–£15,000 + VAT, with a fixed price in writing before we start. If your checkout also needs to convert better once it's fast, our ecommerce CRO work picks that up.

Tell Us About Your Shop

A slow shop costs you sales every day it stays slow. Whether it needs the right settings or a lean rebuild, we'll tell you which, and why.

Our WordPress web design team designs and builds fast WooCommerce shops in one place. Tell us about your shop and what's slow, and we'll take it from there.

Share this article

Questions

Start a project
Does WooCommerce slow down WordPress?

WooCommerce adds pages that can't be cached, such as the cart and checkout, so it needs better hosting than a simple brochure site. Set up well, a WooCommerce shop can still be quick.

Should I disable cart fragments?

Check first. Since WooCommerce 7.8 the cart fragments script only loads where a cart widget needs it. If it's loading on every page, find the theme or plugin adding it back.

How do I clear the cache on WooCommerce?

Use your caching plugin's clear cache button, and your host's if it has its own cache. Clear it after changing prices, stock settings or your theme.

Is it my hosting or my site?

If the checkout is only slow at busy times, it's probably the hosting. If it's slow at every hour and speeds up when you switch plugins off on staging, it's the site.

Should I switch to HPOS?

Usually, yes. HPOS stores orders in their own tables and is the default for new shops. Test the switch on a staging copy, especially if you have a large order history.

Start a project

Want us to do this for you?

Tell us what you need and we'll come back with a plan and a fixed price agreed in writing before we start.

Ready to talk about your project?

Web design, SEO, PPC, Facebook ads and bespoke software from one UK team.