WooCommerce stores are harder to speed up than brochure sites because carts, checkouts and account pages cannot be fully cached, and stores tend to run more plugins. A slow store loses sales at every step. These are the fixes I apply to WooCommerce stores, from the server to the checkout.
Hosting built for stores
Stores need more server power than simple sites: more PHP workers for simultaneous uncached requests, enough memory, fast storage and object caching. Cheap shared hosting struggles with checkout traffic, especially during sales.
Choose hosting that supports WooCommerce well, with Redis object caching and server-level page caching that excludes dynamic pages correctly. See choosing WordPress hosting and reducing TTFB.
Page caching with correct exclusions
Product, category and content pages can be cached for visitors who have not added items to their cart. Cart, checkout and My Account pages must be excluded. Most caching plugins and hosts handle WooCommerce exclusions automatically, but verify the settings.
Once a visitor adds an item to the cart, many caching systems bypass the cache for them. This is correct but means logged-in and active shoppers rely on server speed, which is why object caching and good hosting matter.
- 1Store hostingPHP workers, Redis
- 2Caching rulesExclude cart, checkout
- 3Cart fragmentsOnly where needed
- 4Images and filtersLight and indexed
- 5HPOS and checkoutDedicated tables, block checkout
Object caching
Redis or Memcached object caching stores database query results in memory, speeding up uncached pages such as the cart, checkout and admin. For stores, it is one of the most valuable improvements.
Enable it through your host and a plugin such as Redis Object Cache. Monitor that it is connected and working. See WordPress caching explained.
Cart fragments
WooCommerce’s cart fragments script updates the mini-cart on every page using an AJAX request, which can slow pages and bypass caching benefits. Newer WooCommerce versions limit it to pages where the mini-cart is shown, but themes and plugins may still load it everywhere.
If your theme does not show a live mini-cart, or you can live with it updating on page load, disable cart fragments on pages where it is not needed. Performance plugins offer options for this. Test that the cart count still updates correctly.
Product images
Product images are often the heaviest part of category and product pages. Resize, compress and serve WebP or AVIF, use appropriate thumbnail sizes for grids and do not lazy-load the main product image. See image optimization for WooCommerce.
Galleries and zoom features should load additional images only when needed. Hover image swaps on category pages double image loading; use them sparingly.
Filters and search
Product filter plugins can run heavy database queries, especially on large catalogues with many attributes. Choose filters designed for performance, which use indexed lookup tables, and limit the number of filter options shown.
Search on large stores can be slow with the default WordPress search. Dedicated search plugins or services with indexing provide faster, more relevant results.
Plugin audit
Stores accumulate plugins for payments, shipping, marketing, reviews, wishlists, upsells and more. Audit them: remove unused ones, eliminate overlaps and load assets only on pages that need them. Many WooCommerce extensions load scripts on every page.
Use Query Monitor to find plugins that add slow queries to product and checkout pages. See my plugin bloat audit.
High-Performance Order Storage
High-Performance Order Storage (HPOS) moves orders from the general posts tables into dedicated order tables designed for e-commerce. It speeds up order queries, admin screens and checkout on stores with many orders. New stores use it by default.
For existing stores, check that all your extensions are HPOS compatible in WooCommerce’s settings, then enable synchronisation and switch over. Test on staging first.
Checkout performance
The checkout should load quickly and respond instantly. Use the block-based checkout, which is lighter than many older checkout customisations. Remove unnecessary fields and scripts from checkout, and exclude checkout from aggressive JavaScript optimisation that can break payment scripts.
Payment gateway scripts are necessary, but extra tracking and marketing scripts on checkout can slow it down. Test the full checkout on a mid-range phone.
Background tasks
WooCommerce uses Action Scheduler for background tasks such as emails, webhooks and subscriptions. If thousands of pending or failed actions build up, they can slow the site. Check WooCommerce > Status > Scheduled Actions for backlogs.
Fix failing actions, clear old completed ones and make sure WP-Cron runs reliably. On busy stores, a real server cron job is more dependable than WordPress’s visitor-triggered cron.
Sales, campaigns and traffic spikes
Black Friday, product launches and email campaigns send large numbers of shoppers to the store at once. Many of them add to cart and check out at the same time, which bypasses the page cache and puts heavy load on PHP and the database. Stores that are fine on a normal day can slow down or fail under that pressure.
Before big campaigns, ask your host about capacity, temporarily upgrade resources if needed and load test the checkout on staging. Pause non-essential background tasks such as large imports or backups during the event. Watch uptime and order volumes closely while the campaign runs, so problems can be fixed while there is still time to save sales.
Measure and monitor
Test the homepage, a category page, a product page, the cart and checkout in PageSpeed Insights, and check field data in Search Console. Monitor speed during sales and campaigns, when traffic is highest.
WooCommerce speed work is a large part of my speed optimization service. For product page conversions, see WooCommerce product page optimization.
Key takeaways
- Stores need hosting with enough PHP workers and object caching.
- Cache product and category pages but exclude cart, checkout and account.
- Limit cart fragments and heavy filters, and optimise product images.
- Enable HPOS and keep the checkout lean.
Frequently asked questions
Why is my WooCommerce store slower than my blog?
Stores run more plugins and dynamic pages that cannot be fully cached.
Can I cache WooCommerce pages?
Yes, product and category pages. Exclude cart, checkout and account pages.
What are cart fragments?
A script that updates the mini-cart via AJAX. It can slow pages if loaded everywhere.
Is HPOS safe to enable?
Yes, once your extensions are compatible. Test on staging first.
Does object caching help WooCommerce?
Yes. It speeds up uncached pages like cart, checkout and the admin.
How many PHP workers does a store need?
It depends on traffic. Busy stores need more workers to handle simultaneous checkouts.
