A slow store loses sales before a customer ever reaches the checkout. If your shop takes four or five seconds to load, shoppers leave, Google notices, and every ad click costs more than it should. The good news is that you can speed up WooCommerce a lot without rebuilding your store — most of the big wins come from a handful of targeted fixes. This guide walks through them in order of impact.
Why Is WooCommerce Slow by Default?
WooCommerce is not slow because it is badly written — it does a lot of work on every request. A product page runs dozens of database queries for pricing, variations, stock, reviews, and related products, and rebuilds all of that from scratch on each visit unless something caches it. Cart, checkout, and account pages are dynamic by nature, so they cannot be served as static HTML. Add a heavy theme, a dozen plugins, and unoptimized product photos, and a store that felt fine with twenty products starts to crawl at two hundred.
Step 1: Measure Before You Optimize
Never optimize blind. Run your shop page, a product page, and your checkout through PageSpeed Insights and note three numbers: Largest Contentful Paint (LCP), Interaction to Next Paint (INP), and your server response time (TTFB). Aim for LCP under 2.5 seconds, INP under 200 milliseconds, and TTFB under 600 milliseconds.
For a deeper look, install the free Query Monitor plugin: it shows how many database queries a product page runs and which plugin triggered the slowest ones. Re-test after each change below so you know what actually helped.
Step 2: Upgrade Your Hosting and PHP Version
Hosting is the ceiling for everything else. On crowded budget shared hosting, no plugin can save a store — the server itself is the bottleneck. A VPS, a managed WooCommerce host, or a cloud server with a sensible PHP-FPM setup will usually cut TTFB from one to three seconds down to 200–600 milliseconds.
Check your PHP version under Tools → Site Health → Info → Server. WooCommerce runs dramatically faster on PHP 8.2 or newer than on PHP 7.x, and OPcache should be enabled so PHP does not recompile every file on every request. If your host still runs PHP 7.4, that upgrade alone is often the single biggest speed win available.
Step 3: Cache the Pages You Can — and Exclude the Ones You Can’t
Full-page caching turns your shop, category, and product pages into static HTML for logged-out visitors, so the server skips the whole PHP and database stack on repeat visits. Use a caching plugin that understands WooCommerce — WP Rocket, LiteSpeed Cache, or W3 Total Cache — or server-level caching such as Nginx FastCGI cache. Caching alone will not speed up WooCommerce checkout, but it takes a huge load off everything around it.
The critical detail is the exclusion list. Your cart, checkout, and My Account pages must never be cached, because they are different for every shopper. Verify it yourself: add something to the cart and confirm the cart page still shows the right items after a purge. A customer seeing someone else’s cart is a far worse problem than a slow page.
Step 4: Add a Redis Object Cache
Page caching helps the pages that can be cached. A persistent object cache helps everything else. WordPress keeps a lot of repeated data — product attributes, pricing rules, session data — in the database, and without an object cache it re-queries that data on every request. Redis stores it in memory instead.
Most managed WooCommerce hosts offer Redis with one click. On your own server, install Redis, then add the free Redis Object Cache plugin by Till Krüss. This is especially powerful for the cart and checkout, which page caching cannot touch — on stores with real traffic, Redis commonly cuts TTFB on dynamic pages by half or more.
Step 5: Enable High-Performance Order Storage (HPOS)
For years, WooCommerce stored every order as a WordPress post, with each line item, address, and custom field exploded into rows in the postmeta table. High-Performance Order Storage (HPOS) fixes that by giving orders their own dedicated tables — wc_orders, wc_order_addresses, and wc_orders_meta — with proper indexes.
WooCommerce’s own tests put order creation up to five times faster with HPOS, and checkout about 1.5 times quicker. It has been the default for new stores since WooCommerce 8.2 (October 2023), but older stores often still run the old storage. Enable it under WooCommerce → Settings → Advanced → Features, after checking every active plugin declares HPOS compatibility. Back up first, then migrate with the built-in sync tool — or WP-CLI:
wp wc hpos status wp wc hpos sync --batch-size=500 wp wc hpos verify_data
On a store with tens of thousands of orders, the admin order list alone can drop from several seconds per page load to under one.
Step 6: Stop Cart Fragments Slowing Down Every Page
This is the highest-impact WooCommerce-specific fix, and most store owners have never heard of it. WooCommerce uses an AJAX call called cart fragments to keep the mini-cart up to date, and by default it fires on every page of your site — homepage, blog posts, About page — even when the visitor has never added anything to a cart. That one request typically adds 200–500 milliseconds to every page load.
If your header shows no live cart count on content pages, stop the script loading there. Add this to your child theme’s functions.php (or a code snippet plugin):
function speed_up_woocommerce_disable_cart_fragments() {
if ( ! is_woocommerce() && ! is_cart() && ! is_checkout() && ! is_account_page() ) {
wp_dequeue_script( 'wc-cart-fragments' );
}
}
add_action( 'wp_enqueue_scripts', 'speed_up_woocommerce_disable_cart_fragments', 99 );
After adding it, check the Network tab in your browser’s developer tools and confirm the ?wc-ajax=get_refreshed_fragments request is gone from your homepage. Shop, cart, and checkout pages still get the live mini-cart exactly as before — this is one of the quickest ways to speed up WooCommerce outside the shop itself.
Step 7: Optimize Your Product Images
Product photos are usually the largest files on a store, and they dominate your LCP score. Serve them in WebP — typically 25–35% smaller than JPEG at the same quality — and let WordPress generate properly sized thumbnails instead of loading a 2000-pixel original into a 400-pixel grid slot.
Use a plugin such as ShortPixel or Imagify to compress images automatically on upload, and confirm lazy loading is active for below-the-fold images — WordPress adds loading="lazy" by default since 5.5, but a theme or page builder can override it. Keep your hero and first product image eager-loaded: lazy-loading the LCP element makes it slower. For the full workflow, see my guide to optimizing images in WordPress.
Step 8: Audit Plugins and Trim Front-End Scripts
Every active plugin is code that loads on some — often every — page of your store. Ask of each one: does it earn its place on the storefront? Deactivate anything unused, and replace overlapping plugins with a single one that does the job.
Then look at checkout specifically. Marketing scripts — heatmaps, chat widgets, social trackers — add JavaScript execution time where speed matters most, because a slow checkout is an abandoned cart. Defer non-critical scripts with the defer attribute or your caching plugin’s JavaScript delay feature. If your theme is a heavy multipurpose theme, consider a lightweight WooCommerce-focused theme such as Storefront, Astra, or GeneratePress.
Step 9: Clean Up the WooCommerce Database
WooCommerce databases grow quietly: expired transients, abandoned sessions, old revisions, and an oversized wp_options table with too many autoloaded rows all slow down queries that run on every page. Clean them regularly with WP-Optimize or Advanced Database Cleaner, or with WP-CLI.
Two settings deserve attention. First, limit post revisions — add define( 'WP_POST_REVISIONS', 5 ); to wp-config.php. Second, check autoloaded options: WordPress loads all of them into memory on every request, so anything over a few megabytes is worth investigating. For the full routine, see my WordPress database optimization guide.
How Fast Should Your Store Be?
Once you have worked through the steps, these are realistic targets: product pages under 2.5 seconds on mobile, LCP under 2.5 seconds, INP under 200 milliseconds, and a PageSpeed mobile score of 85 or higher. Do not chase a perfect 100 — a store with real product photos, a payment gateway, and a live cart will rarely score it, and that is fine.
Re-test after every change, and test the pages that carry revenue — product pages, cart, and checkout — not just the homepage. A store can have a fast homepage and a six-second checkout, and only one of those costs you money. For a second opinion, WP Rocket’s WooCommerce speed guide covers the same fixes with its own benchmarks.
Speed is not a one-time task for a WooCommerce store — it is maintenance. Work through these nine steps, measure as you go, and revisit them whenever you add a plugin, a payment gateway, or a few hundred products. If your store still feels slow after the foundations are right, the bottleneck is usually specific to your theme or plugin stack — exactly what I diagnose for clients. Get in touch through my contact page and I will take a look.