Why Is My WooCommerce Store Slow? A Diagnostic Order and the Fixes
Shakewell ·
A slow WooCommerce store is almost always slow for a small number of identifiable reasons, and you find them by measuring in a fixed order: real-user data first, then server response time, then what the server is doing. Guessing at plugins or buying a bigger hosting plan first is how stores end up with the same problem and a higher bill.
Below are the measuring steps, the front-end and back-end fixes, and a table that matches symptoms to causes. If you need hands on the store, our WooCommerce developers in Sydney do this kind of audit.
Step 1: measure before you change anything
1. Compare field data with lab data
Run the store’s key pages through PageSpeed Insights: home, a category, a product, cart and checkout. It shows two kinds of data, and they answer different questions.
- Field data comes from real Chrome users through the Chrome UX Report. Google describes it as a historical report over a trailing 28 days, so it lags behind recent fixes.
- Lab data is a single simulated Lighthouse load. Google says it is useful for debugging but can miss real-world bottlenecks, and scores vary from run to run.
If field data is poor and lab data is fine, your real customers have a problem your test does not reproduce: slower phones, logged-in sessions, or cached versus uncached pages.
2. Check server response time (TTFB)
Time to first byte is how long before the first byte arrives. Google’s guidance is that 0.8 seconds or less is good and over 1.8 seconds is poor. Note it includes DNS, connection set-up and redirects, not just your server.
curl -s -o /dev/null -w "ttfb: %{time_starttransfer}s total: %{time_total}s\n" https://example.com.au/shop/
Run it on a product page, then the cart page. A fast category page and a slow cart page means page caching is hiding a back-end problem.
3. Profile one slow page with Query Monitor
The free Query Monitor plugin shows slow and duplicate database queries, queries grouped by the plugin or theme responsible, hooks, and outgoing HTTP calls with their timing. Its author notes it has a small performance cost, and by default only Administrators see its output. Install it on a staging copy where you can, and remove it after.
4. Turn on the slow query log
When Query Monitor points at the database, confirm it on the server. In MySQL 8.0 the log is off by default and long_query_time defaults to 10 seconds, which is far too high for a shop.
SET GLOBAL slow_query_log = 'ON';
SET GLOBAL long_query_time = 1;
SET GLOBAL slow_query_log_file = '/var/log/mysql/slow.log';
Let it run through a busy period, then summarise it with mysqldumpslow. Managed hosts often block SET GLOBAL; ask them for the log.
Front-end causes and fixes
Front-end problems are about what the browser has to download and run. Our own benchmark of 21 large Australian retailers found the median homepage shipped 7.1MB to mobile, 4.1MB (62%) of it from domains the retailer does not control. That was a sample of large retail sites, not WooCommerce stores, but the weight is often other people’s scripts.
Slow checkout
Keep cart, checkout and account pages out of page caching. WooCommerce’s own performance guidance says to leave cart and checkout uncached so dynamic content stays current. That means these pages run PHP and database queries on every view, so any slow plugin shows up here first.
Open the Network tab on checkout and watch the wc-ajax requests. Checkout refreshes the order review through an AJAX request when a customer changes their address or shipping method. If that request is slow, common causes are a live shipping-rate lookup, a tax or address-validation service, or a plugin hooked into the cart calculation. Query Monitor’s HTTP API calls panel can help name it.
Cart fragments (wc-ajax=get_refreshed_fragments)
Older advice says to disable cart fragments everywhere. Current behaviour is different. WooCommerce’s developer blog says that from WooCommerce 7.8 the cart fragments script is no longer enqueued on all page routes by default. It is now enqueued only if the Cart Widget is rendered in a view.
So if you still see wc-ajax=get_refreshed_fragments on every page, the likeliest cause is a mini-cart widget in the header or sidebar. The developer blog suggests this filter to stop the script running outside shop, cart and checkout pages:
add_filter( 'woocommerce_get_script_data', function( $script_data, $handle ) {
if ( 'wc-cart-fragments' === $handle ) {
if ( is_woocommerce() || is_cart() || is_checkout() ) {
return $script_data;
}
return null;
}
return $script_data;
}, 10, 2 );
The script file still loads, but it does not execute. The post warns that custom pages with cart behaviour outside those conditions will not update the mini-cart, and that a mini-cart widget on every page combined with page caching can show a stale cart.
Heavy themes and page builders
A multipurpose theme or page builder can load a lot of CSS and JavaScript on every page, whether or not the page uses it. WooCommerce’s guidance is to choose a lightweight theme built for WooCommerce. Compare a product page on your theme against the default Storefront theme on a staging copy. If Storefront is far faster, the theme is the finding.
Images, scripts and third parties
- Images: compress before upload, serve sizes that match the layout, and lazy-load below the fold. Do not lazy-load the main product image, as it is usually the Largest Contentful Paint element.
- Scripts: list every script on the product page and who added it. Chat widgets, review widgets, tracking pixels and A/B tools add up.
Back-end causes and fixes
Back-end problems show up as slow TTFB, a slow admin, or slow add to cart.
PHP version and hosting tier
WooCommerce’s server recommendations page, for WooCommerce 10.8 and later, asks for PHP 8.3 or newer, MySQL 8.0 or newer or MariaDB 10.6 or newer, and a 256MB PHP memory limit. It describes PHP 7.4 as a legacy minimum that has reached end of life. If your host still runs an older PHP, upgrading is the cheapest speed-up available, and a security fix as well.
If TTFB stays high with a clean plugin set on shared hosting, the store is probably competing for CPU and database connections, and a plan with dedicated resources is the fix.
Autoload bloat in wp_options
WordPress loads every option marked autoload on every request. Abandoned plugins leave large rows behind. WordPress 6.6 added a Site Health check that raises a critical issue when autoloaded options exceed 800KB, and does not autoload new large options (over 150,000 bytes by default) unless a developer explicitly asks for it.
wp option list --autoload=on --format=total_bytes
wp db query "SELECT option_name, LENGTH(option_value) AS bytes FROM wp_options WHERE autoload IN ('yes','on','auto','auto-on') ORDER BY bytes DESC LIMIT 20;"
Change wp_ to your table prefix. Do not delete rows blindly: find which plugin owns each large row, and take a database backup first. Rows from plugins you removed years ago are safe to clear once confirmed.
Transients
Expired transients pile up when there is no persistent object cache. WooCommerce’s performance guidance lists regular deletion of expired transients as routine database maintenance.
wp transient delete --expired
Object caching with Redis
A persistent object cache keeps repeated lookups in memory instead of asking MySQL again. It helps most on the pages page caching cannot help: admin, logged-in customers, cart and checkout. The Redis Object Cache plugin works with PhpRedis, Predis or Relay. After installing it and setting the connection constants in wp-config.php, run wp redis status to confirm it is connected.
High-Performance Order Storage (HPOS)
HPOS stores orders in dedicated tables with their own indexes rather than in the general posts and postmeta tables. WooCommerce’s developer docs say it is enabled by default for new installations from WooCommerce 8.2 (October 2023). Existing stores can switch under WooCommerce > Settings > Advanced > Features. The docs describe the benefit as fewer reads and writes and less contention on busy tables, but give no benchmark numbers, so do not promise a specific gain.
Before switching an older store, check every extension that touches orders for HPOS compatibility. Compatibility mode keeps the old and new tables in sync, and the docs give wp wc cot sync to run a manual sync.
Action Scheduler backlog
WooCommerce uses Action Scheduler for background jobs: emails, webhooks, subscription renewals. A backlog of pending or failed actions makes the admin slow and delays emails.
wp action-scheduler status
wp action-scheduler action list --status=pending --format=count
wp action-scheduler clean --status=complete,canceled --before='7 days ago'
By default clean removes canceled and complete actions last modified more than 31 days ago. If the backlog is pending rather than finished, find which hook is flooding the queue before clearing it.
Cron
By default WordPress runs scheduled tasks when someone visits the site, which is unreliable on low traffic and wasteful on high. WordPress documents moving this to a real system cron: define DISABLE_WP_CRON as true in wp-config.php, then have the server call wp-cron.php on a schedule. Ask your host to set this up, and check Action Scheduler is still running afterwards.
Database indexes
On a large store, a slow query that appears in the slow query log with a big examined-rows count may need an index. Add indexes only for a query you have captured and run EXPLAIN on, and never on production without a backup. Plugins that store data in wp_postmeta are the usual cause, and HPOS removes much of that for orders.
Slow search, slow add to cart and the plugin audit
Slow search. Default WordPress search queries the database with text matching, which can be slow on a large catalogue. Check in Query Monitor that the search query is the slow part before adding a search plugin or service built for product search.
Slow add to cart. Cart actions cannot be served from page cache, so they expose back-end cost directly. Profile one in Query Monitor, then look at stock, shipping and dynamic pricing plugins, then object caching and TTFB generally.
The plugin audit. Deactivate plugins in batches on staging and re-measure. For each plugin, ask: does it load scripts site-wide, does it run queries on every request, does it call an outside service, is it still maintained? Our WordPress hardening checklist covers plugin vetting and abandonment from the security side, and the same abandoned plugins are often the slow ones.
Symptom, cause and fix
| Symptom | Likely cause | Fix | Difficulty |
|---|---|---|---|
| Slow TTFB on every page | Old PHP, shared hosting, no object cache | PHP 8.3, better hosting tier, Redis | Medium |
| Slow checkout | Live shipping, tax or address service; heavy plugin on cart calculation | Find with Query Monitor HTTP panel, replace or cache the call | Medium |
get_refreshed_fragments on every page |
Header mini-cart or plugin loading cart fragments | Remove the widget or restrict with the filter, then test the cart | Easy |
| Slow admin | Autoload bloat, Action Scheduler backlog, no object cache | Audit autoload rows, clean actions, add Redis | Medium |
| Slow order screens on a big store | Orders in posts and postmeta | Enable HPOS after checking extensions | Hard |
| Slow add to cart | Stock, shipping or pricing plugins; uncached back end | Profile in Query Monitor, fix the plugin | Medium |
| Slow search | Default database text search | Dedicated search plugin or service | Medium |
| Good lab score, poor field data | Real devices and third-party scripts | Trim scripts, check mobile, compare CrUX | Medium |
| Slow product pages with big images | Unoptimised images, heavy theme | Resize, compress, lighter theme | Easy to medium |
| Queries scanning many rows | Missing index | Capture, EXPLAIN, add index on staging first |
Hard |
When the honest answer is replatforming
Most slow WooCommerce stores can be made fast by the steps above. Sometimes they cannot: the store depends on dozens of plugins nobody can replace, the budget for hosting and ongoing maintenance is not there, or the team wants performance and checkout to be someone else’s job. In that case moving is a reasonable option, not a failure. Our comparison of WooCommerce and Shopify for Australian retailers sets out the trade, and what comes across in a WooCommerce to Shopify migration covers the work involved. If the store is a mess but the platform is right, a clean-up is usually better value than a move.
If you want a second pair of eyes, our WooCommerce development agency team and our WordPress development team can run this order against your store.
Sources: PageSpeed Insights documentation, web.dev TTFB, Query Monitor, MySQL 8.0 slow query log, WooCommerce cart fragments best practices, WooCommerce performance optimisation, WooCommerce server recommendations, WordPress options autoload changes, WP-CLI option list, WP-CLI transient delete, WooCommerce HPOS, Action Scheduler WP-CLI, WordPress cron, Redis Object Cache, all checked November 2026.
Common questions
Why is my WooCommerce site so slow?
Usually for one of two reasons: the server takes too long to build each page, or the browser takes too long to load what the page asks for. Check time to first byte first. If it is over about 0.8 seconds, the problem is hosting, database or plugins. If it is fine, look at images, scripts and the theme. Measuring before changing anything stops you fixing the wrong half.
How do I speed up WooCommerce checkout?
Keep cart and checkout pages out of page caching, then find what runs on them. Open the browser Network tab and look for slow wc-ajax requests, then use Query Monitor to see which plugin or query is behind each one. Common culprits are shipping rate lookups, payment and tax plugins, and tracking scripts. Remove or replace the slowest one before tuning anything else.
Does Redis speed up WooCommerce?
It can, mainly on the back end. A persistent object cache keeps results of repeated database lookups in memory, which helps admin screens, logged-in customers and cart and checkout pages that page caching cannot serve. It does not fix slow plugins, oversized images or an underpowered server. Treat it as one step after you have measured, not a first fix.
Is WooCommerce slower than Shopify?
Not by design. A well-hosted, well-maintained WooCommerce store can be fast. The difference is who owns performance: on Shopify the platform runs hosting and infrastructure, while on WooCommerce you or your developer do. Slow WooCommerce stores are usually slow because of plugin and hosting choices accumulated over years, not because of the platform itself.