Menu

Resources

How to Speed Up Your WooCommerce Store: Fixes for Product Pages, Cart and Checkout

Speed up WooCommerce where stores get slow: uncached cart and checkout, cart fragments, object cache, HPOS, background jobs, search and heavy scripts.

By: Irina ShvayaNovember 17, 2026

Reviewed by Ben GuntherLast reviewed

shutterstock 2261636865 scaled

This guide is part of our WordPress resource hub: costs and hosting, the block editor, plugins, SEO and speed, security, maintenance, WooCommerce, development, comparisons and migrations.

Key Takeaways

  • WooCommerce stores are slower than plain WordPress sites mainly because cart, checkout and account pages can't be page-cached, so server speed and an object cache matter more.
  • A persistent object cache such as Redis, current PHP and enough PHP workers do the most for cart and checkout speed.
  • Since WooCommerce 7.8, the cart fragments script loads only where the classic Cart widget appears, but themes and plugins can still add it to every page.
  • High-Performance Order Storage (HPOS), cleared background jobs and a dedicated product search keep the database fast as orders and products grow.
  • Product pages are usually slowed by large galleries, review and chat widgets, and payment or marketing scripts loaded on every page.

To speed up a WooCommerce store, make sure pages that can be cached are cached, make the uncached ones (cart, checkout, account) fast with a strong server and a persistent object cache, then cut what product pages load: oversized images, extra scripts and site-wide cart fragments. Finally, keep the database lean as orders grow, with HPOS, cleaned background jobs and a proper product search.

This guide focuses on what is specific to WooCommerce. For general WordPress speed work such as images, fonts, themes and hosting, see our guide to optimizing WordPress for speed.

Measure Every Store Template

Test one URL of each store template: home, category, product, cart and checkout. Use:

  • Search Console's Core Web Vitals report for real-user data grouped by template. Google's targets are LCP within 2.5 seconds, INP of 200 milliseconds or less and CLS of 0.1 or less.
  • PageSpeed Insights or WebPageTest to see what each page loads and in what order.
  • The Query Monitor plugin (on staging, logged in) to find slow database queries and the plugins causing them.
  • Your browser's Network tab to spot requests such as ?wc-ajax=get_refreshed_fragments on pages that don't need them.

Write down Time to First Byte for the cart and checkout pages. Those numbers show how fast your server is without page caching.

Why WooCommerce Is Slower Than a Normal WordPress Site

  • Personal pages can't be cached. Cart, checkout and account pages are different for every shopper, so the server builds them on each request.
  • More database work. Products, variations, prices, stock, orders and sessions all live in the database.
  • Background jobs. WooCommerce and its extensions schedule tasks (emails, syncs, webhooks, analytics) through Action Scheduler.
  • More scripts. Payment gateways, reviews, wishlists, tracking pixels and chat tools all add JavaScript, often to every page.

Server and Caching Fixes

1. Size the server for uncached traffic

Shared hosting rarely copes with busy checkouts. Use managed WordPress or WooCommerce hosting, or a tuned VPS, with PHP 8.3 or newer (WordPress's recommendation), OPcache, and MariaDB 10.11 or MySQL 8.4 or newer. Make sure there are enough PHP workers for your peak number of shoppers in cart and checkout at the same time. When workers run out, requests queue and checkout stalls.

2. Page-cache everything that is the same for everyone

Home, category and product pages can be cached for logged-out visitors. Most managed hosts and caching plugins exclude cart, checkout and my-account pages automatically, and skip the cache once a shopper has items in their cart. Confirm those exclusions are in place, because a cached checkout causes far worse problems than a slow one.

3. Turn on a persistent object cache

This is the single biggest fix for cart, checkout and the store admin. Redis (or Memcached) keeps the results of repeated database queries in memory between requests. Your host may offer it as a setting; otherwise install Redis on the server and a drop-in plugin. Check it with WP-CLI:

wp cache type
# "Default" means no persistent object cache is active.
# After setup it should report Redis (or Memcached).

4. Add a CDN

Serve product images, CSS and JavaScript from a CDN, and use edge page caching for anonymous traffic if your CDN supports WooCommerce's cookies correctly.

Cart and Checkout Fixes

5. Check where cart fragments load

Cart fragments is an uncacheable AJAX request that refreshes the mini-cart. Since WooCommerce 7.8 the script loads only where the classic Cart widget is rendered, according to WooCommerce's developer guidance, but themes and plugins can still enqueue it on every page. If you see get_refreshed_fragments requests on pages without a mini-cart, find what loads it. WooCommerce recommends switching to the Mini-Cart block, which does not use the fragments API. If your theme doesn't need a live mini-cart at all, you can dequeue the script in a child theme:

add_action( 'wp_enqueue_scripts', function () {
    wp_dequeue_script( 'wc-cart-fragments' );
}, 11 );

Test the cart count afterwards, especially on cached pages.

6. Slim the checkout

  • Remove checkout fields you don't need, and plugins that hook into checkout without earning their place.
  • Offer express wallets (such as Apple Pay, Google Pay or PayPal) that skip address entry for returning buyers.
  • Use the Checkout block if your extensions support it. It has been the default for new stores since WooCommerce 8.3. Our guide to WooCommerce checkout blocks covers the switch.
  • Make sure payment gateway scripts load only on cart and checkout pages, or on product pages if you show express buttons there.

Database and Background Job Fixes

7. Switch to High-Performance Order Storage

HPOS stores orders in dedicated tables instead of the general posts tables, which keeps order queries fast as order counts grow. It has been the default for new stores since WooCommerce 8.2. Older stores can migrate under WooCommerce > Settings > Advanced > Features once their extensions are compatible. See our HPOS guide for the migration steps.

8. Clear background job buildup

Open WooCommerce > Status > Scheduled Actions. Thousands of "Past-due" or "Failed" actions mean a job is stuck or a disconnected extension is still scheduling work. Fix the cause, then clear the backlog. On busy stores, replace page-load cron with a real server cron:

// wp-config.php
define( 'DISABLE_WP_CRON', true );

# crontab: run due events every 5 minutes
*/5 * * * * cd /path/to/site && wp cron event run --due-now

9. Trim autoloaded options

Options marked to autoload are loaded on every request. WordPress Site Health warns when their total gets too large. To list the biggest ones:

wp db query "SELECT option_name, LENGTH(option_value) AS bytes
FROM $(wp db prefix)options
WHERE autoload IN ('yes','on','auto-on','auto')
ORDER BY bytes DESC LIMIT 10;"

Large entries left by removed plugins can be deleted after a backup. Large entries from active plugins should be reported to the plugin's developer.

10. Move product search off the database

Default WordPress search runs slow text queries against the posts table, and layered filters on large catalogs add more. For catalogs with thousands of products, a dedicated search service such as Elasticsearch (through a plugin like ElasticPress) or Algolia is faster for shoppers and lighter on the server.

Product and Category Page Fixes

11. Lighten product galleries

Resize product images to the largest size the theme displays, serve WebP or AVIF, and don't lazy-load the main product image, since it is usually the LCP element. Keep width and height on images to prevent layout shift. Our guide to optimizing WooCommerce product pages covers layout and content too.

12. Audit scripts on product pages

Review widgets, chat, wishlists, upsell pop-ups, tracking pixels and video embeds all compete with the shopper's first tap, which hurts INP. Remove what you don't use, load chat after the first interaction, and limit marketing tags to the pages that need them.

Keep the Store Fast

  • Test cart and checkout speed after every WooCommerce, theme or payment plugin update.
  • Check Scheduled Actions and the Core Web Vitals report monthly.
  • Review extensions each quarter and remove the ones you no longer use.
  • Before peak season, load test or confirm your host's capacity.

These checks fit into a wider routine covered in our e-commerce maintenance checklist. If you'd like a second pair of eyes, eSEOspace's speed optimization service starts with a free strategy call and a performance review of your store.

Frequently Asked Questions

Why is my WooCommerce store so slow?

Usually a mix of underpowered hosting, no persistent object cache, cart and checkout pages that can't be cached, cart fragments loading on every page, too many extensions and scripts, large product images, and a database slowed by old orders, stuck background jobs or bloated autoloaded options. Measure cart and checkout Time to First Byte first.

How do I speed up WooCommerce checkout?

Give the server enough PHP workers and enable a persistent object cache such as Redis, since checkout can't be page-cached. Then remove unneeded checkout fields and plugins that hook into checkout, offer express wallets, load payment scripts only where needed, and consider the Checkout block if your extensions support it.

Should I disable cart fragments in WooCommerce?

Only if your theme doesn't need a live mini-cart. Since WooCommerce 7.8 the script loads only where the classic Cart widget appears, so first check whether it still runs on every page and what enqueues it. WooCommerce recommends the Mini-Cart block, which doesn't use cart fragments. Always test the cart count after changes.

Does HPOS make WooCommerce faster?

It mainly speeds up order-related work: the orders screen, order searches, reports and checkout writes, because orders get their own tables instead of sharing the posts tables. The effect grows with order volume. HPOS is the default for new stores since WooCommerce 8.2; older stores can migrate once their extensions are compatible.

What hosting is best for a fast WooCommerce store?

Hosting that handles uncached traffic well: managed WooCommerce or WordPress hosting, or a well-tuned VPS, with PHP 8.3 or newer, OPcache, Redis object caching, enough PHP workers for peak checkout traffic, server-level page caching that excludes cart and checkout, and a CDN for images and static files.

Get a FREE Website Audit

Enter your website and get a 20–30 page SEO, GEO, AEO & CRO audit within 24 hours. Completely free.

Don't have a site yet? Get in touch →

Ready to speak with a marketing expert?
Give us a call! (916) 866-7893

Websites Launched
1407
Websites Launched
Marketing Experts
29
Marketing Experts
Hours of Dedicated Work
204533
Hours of Dedicated Work
Irina S.Benjamin G.Jeanette M.David G.