My Client's WooCommerce Checkout Took 9 Seconds. Here's How It Got to 2 (Without a Redesign)
A slow WooCommerce checkout usually isn't a design problem. In this case study, I took a client's checkout from 9 seconds to about 2 by removing two plugins that ran on every checkout refresh and adding Redis object cache.
"The checkout feels broken."
That was the whole message. No screenshot, no error. When I opened the store with a product in the cart and clicked Checkout, I got it. The page took about 9 seconds to show up. Then I typed a postcode and the spinner came back for another few seconds. I changed the shipping method and the spinner came back again.
Nothing was actually broken. It was just slow enough that it felt broken, and customers were leaving before they got to the payment box.
The client thought they needed a new checkout design. Maybe a one-page checkout plugin, maybe a new theme. We didn't do any of that. Two plugins came out, Redis went in, and the checkout loaded in about 2 seconds. Here's how I found the problem, because the same thing is probably happening on a lot of stores.
Why Checkout Is Slow When the Rest of the Site Is Fine
This confuses a lot of store owners. The homepage is fast, product pages are fast, PageSpeed looks OK. So why is checkout so slow?
Because checkout can't be cached. Your homepage is probably served from page cache, so it's the same saved copy for everyone. Checkout is different for every customer: their cart, their address, their shipping rates, their coupon. So every checkout load runs WordPress, WooCommerce and every plugin you have, fresh, from the database.
And it doesn't happen once. Every time the customer changes the country, postcode, shipping method or payment method, WooCommerce sends a background request called update_order_review to recalculate everything. On a normal checkout a customer triggers it four or five times. If each one takes 3 seconds, that's a lot of staring at a spinner.
So whatever runs on checkout, runs again and again. A plugin that adds half a second to every request is annoying on a product page. On checkout it gets multiplied.
How I Found What Was Slow
I didn't start by deleting things. I've written before about measuring before you touch anything, and checkout is no different. I made a staging copy and checked three things.
1. The Network tab. I opened Chrome DevTools, went to Network, and filtered by wc-ajax. Every time I changed a field, I could see the update_order_review request and how long it took. This is the quickest way to see if the problem is the first page load, the updates, or both. Here it was both.
2. Query Monitor. With Query Monitor active, I loaded checkout and looked at "Queries by Component". This shows which plugin is running the most database queries and how much time they take. Two plugins were way ahead of everything else, WooCommerce itself included.
3. Turning things off on staging. Query Monitor told me where to look. To confirm, I switched off one plugin at a time on staging and timed checkout again. When I turned off the first one, the spinner after the postcode almost disappeared. When I turned off the second, the first page load dropped a lot.
This is why I like staging for this. On the live store you can't just switch plugins off at random while people are buying.
Plugin 1: An Address Tool Calling Out on Every Update
The store used a checkout fields plugin that also did address lookup. When a customer entered a postcode, it called an outside service to check the address.
That's fine if it happens once. But it was hooked into the order review update, so it called that service every single time checkout refreshed. Changed the shipping method? Another call. Picked a payment method? Another call. And WordPress waits for that outside service to answer before it sends anything back. When the service was slow, the whole checkout was slow.
The worst part: the client didn't even need it anymore. They had added it for one delivery area they'd stopped shipping to over a year ago. The only part still in use was one extra field, "Delivery notes", and WooCommerce already has an order notes field built in. So we used that and removed the plugin.
This happens all the time. A plugin gets installed for one small job, the job goes away, the plugin stays. I wrote a whole post on whether you really need that plugin for exactly this reason.
Plugin 2: Upsells Built From the Whole Order History
The second one was a "frequently bought together" plugin that showed product suggestions on the checkout page. To work out what to suggest, it searched through past orders. Thousands of them. On every checkout load, with nothing saved between requests.
When the store was new and had 200 orders, nobody noticed. A few years later, with a lot more orders in the database, that same search was the slowest thing on the page.
I asked the client one question: how many sales do these checkout suggestions bring in? They checked the plugin's own report. Almost nothing. Most people who reach checkout already know what they're buying. They don't want to look at more products, they want to pay.
So it came off the checkout. The client kept some related products on the product pages, where WooCommerce's built-in related products already do the job, and that's where suggestions actually make sense.
Then Redis Object Cache
With the two plugins gone, checkout was already a lot quicker. But there was still a pile of repeated database lookups: settings, product data, shipping zones, tax rates. WordPress was asking the database the same questions on every request.
That's what a persistent object cache fixes. WordPress already has an object cache, but by default it only lasts for one request. Then it's thrown away and the next request starts from scratch. With Redis, those results get kept in memory between requests. The next time WordPress needs the same data, it gets it from Redis instead of running the query again.
On pages you can't page cache, like checkout, cart and My Account, this makes a real difference.
The setup was simple because the host already had Redis available:
- Turned on Redis in the hosting panel. On a VPS you'd install it yourself. On some shared hosting it isn't available at all, so check this first.
- Installed the free Redis Object Cache plugin.
- Added a unique prefix in
wp-config.php, so this site's cache doesn't mix with another site on the same server:
define( 'WP_REDIS_PREFIX', 'yourstore_' );- Enabled it from Settings > Redis and checked that the status said Connected.
If you have WP-CLI, you can check it there too:
wp redis statusOne thing I always tell clients: if something looks stuck after an update or a settings change, flush the object cache first. Redis keeps things in memory, which is the point, but sometimes you need it to forget. There's a Flush Cache button on the same settings page.
Also, Redis doesn't fix bad code. If a plugin runs a huge query that isn't cached, Redis won't save you. That's why the plugins came out first and Redis came second. If I'd done it the other way around, Redis would have made things look a bit better and the real problem would still be there.
The Result
After both changes, I tested on staging again, then made the same changes on live during a quiet hour.
- Checkout page load went from around 9 seconds to around 2.
- The spinner after changing postcode or shipping method went from "go make tea" to barely there.
- The checkout database queries dropped a lot, mostly because the order history search was gone.
- Cart and My Account got faster too, which nobody had asked about.
No redesign. No new theme. No new checkout plugin. The checkout looked exactly the same, it just stopped making people wait.
After that I ran through my usual checkout tests: guest checkout, every payment method, a coupon, a couple of real addresses. Removing a plugin from checkout can break something you didn't expect, so I always check the full order flow before calling it done.
How to Check Your Own Checkout
You don't need to be a developer for the first few steps:
- Time it. Open an incognito window, add a product, go to checkout. Count how long it takes. Then change the postcode and count again.
- List what touches checkout. Go through your plugins and write down every one that adds something to checkout: extra fields, upsells, address lookup, gift options, fraud checks, popups. Each one runs on every refresh.
- Ask if each one still earns its place. If you can't remember why it's there or can't show it brings in money, it's a good candidate to remove.
- Ask your host about Redis. Many hosts have it, but it's often off by default.
- Test on staging. Don't start switching plugins off on a live store in the middle of the day.
If you want the full list of what I look at on a checkout, including things like forced accounts and too many fields, my 5-minute checkout audit covers that side.
Final Thoughts
When checkout is slow, the first idea is usually something big: a redesign, a new theme, a fancy checkout plugin. Most of the time the problem is smaller and more boring. Something is running on checkout that doesn't need to, and it's running over and over.
Find it, remove it, then add caching for what's left. In this case that was two plugins and one Redis setup, about a day of work including testing. The client got a faster checkout without spending money on a rebuild.
If your checkout takes more than a few seconds or the spinner keeps coming back every time a customer types something, that's exactly the kind of thing I fix in my WooCommerce bug fixing and performance services. Send me your store link and I'll tell you what's slowing it down.