A shop owner came to us last month with a strange problem. His homepage scored 95 on PageSpeed Insights. His product pages loaded in under a second. But his checkout took six seconds — and one in five customers who reached it never finished buying.
He had tried the usual fixes — a cache plugin, a CDN, compressed images. None of it touched the checkout, because checkout is the one page on a store that cannot be cached.
Why caching can't save checkout
A page cache works by saving one finished copy of a page and handing that same copy to every visitor. That is fine for a product page, because every visitor should see the same thing. It is not fine for a checkout page, because your cart is not my cart. WooCommerce marks cart, checkout and account pages to bypass page cache entirely, and every serious cache plugin respects that.
So a 95 on your homepage tells you nothing about checkout. Checkout is built fresh, in PHP, for every single shopper — which makes it a direct measurement of your server, not your cache plugin.
Diagnose first: three two-minute tests
Before changing anything, find out which kind of slow you have. Each test points at a different layer, and a fix for one rarely helps the others.
1. The page-load test. In a private window, add one item to the cart and time a category page, then time the checkout page. Category fast, checkout slow? The problem lives in the checkout itself.
2. The totals test. On checkout, change the country or postcode and count the seconds until the order summary settles. More than a second or two means the totals recalculation is heavy — usually a plugin hooking into it.
3. The place-order test. Buy your cheapest product with a stopwatch running, then refund it. If the spinner hangs while the first two tests looked fine, the fault is the order step or the payment gateway, not the page.
Write down which test failed. That is your diagnosis, and it decides what to fix first.
Fix 1: stop cart fragments from taxing every page
The classic checkout keeps the header mini-cart updated with an AJAX call called get_refreshed_fragments. It fires on almost every page, and each call boots all of WordPress just to recompute a cart count — a lot of work for a number in a header.
If no mini-cart renders on a page, the script has no job there. This snippet, in a child theme's functions.php, loads it only where a cart exists:
// Only load cart fragments where a cart actually renders. add_action( 'wp_enqueue_scripts', function() { if ( ! is_cart() && ! is_checkout() ) { wp_dequeue_script( 'wc-cart-fragments' ); } }, 11 ); One note: this applies to the classic shortcode checkout. The block checkout uses the Store API instead and skips cart fragments altogether — one more reason to know which checkout you run before you start fixing things.
Fix 2: find what is slowing the totals recalculation
Every time a shopper changes an address field, applies a coupon or picks a shipping method, WooCommerce recalculates the whole order: shipping rates, taxes, totals. Any plugin hooked into that process runs on every recalculation — a shipping plugin phoning an external API, a tax plugin doing a live lookup. Each adds its own delay, and they stack.
Install Query Monitor on a staging copy, use the checkout, and look at what runs during the update_order_review request (or the Store API request on block checkout). Deactivate suspects one at a time and re-time the totals test — the culprit is usually one plugin, not ten.
Fix 3: raise the server floor
Because checkout can't be cached, every request pays the full boot cost: WordPress and every active plugin load before the request even runs. Three things set that floor:
- PHP 8.2 or newer, with at least 256 MB of memory. WooCommerce flags anything lower in Site Health for a reason.
- High-Performance Order Storage (HPOS), under WooCommerce → Settings → Advanced → Features. It keeps orders in dedicated tables instead of the shared posts table. It is on by default for new stores — older stores often still run legacy storage without realising it.
- A persistent object cache such as Redis, if your host offers it. It won't cache the checkout page, but it cuts the repeated database work inside every request.
None of this is glamorous. It is also the fix most guides skip, because you can't sell it as a plugin setting.
Fix 4: test the failure, not just the speed
Here is the part almost no speed guide covers: a checkout can be fast and still broken — the "Place order" spinner that never ends, the order that appears in WooCommerce while the payment never captures, the customer who double-clicks and gets charged twice.
After every change, place a real order with a real card and refund it. If it hangs, check WooCommerce → Status → Logs — a gateway timeout or a fatal error during order creation usually leaves a trace there. And confirm the button can't be double-submitted: the block checkout handles this; on classic checkout, verify it in your theme.
The checklist, in order
- [ ] Run the three tests and write down which one failed
- [ ] Confirm cart and checkout are excluded from page cache — and that no CDN rule overrides it
- [ ] Dequeue cart fragments where no mini-cart renders
- [ ] Enable HPOS, PHP 8.2+, 256 MB memory
- [ ] Use Query Monitor to find the slow plugin in the totals recalculation
- [ ] Trim checkout fields, enable guest checkout, offer express payments
- [ ] Place a real test order after each change
Checkout speed is not a PageSpeed score. It is the last thing between a decided customer and your revenue — and the one page where the usual advice stops working. Diagnose which layer is slow, fix that layer, and prove it with a real order.

