Skip to content
infosoftix

WooCommerce Site Speed Optimization: A Practical Guide

Speed up a slow WooCommerce store: measure TTFB and LCP, fix hosting and PHP, cache safely, cut plugins, optimise images and clean the database.

Written by Sanjoy BiswasFounder, Infosoftix · 20 years in software, 2,000+ projects

Updated

A slow WooCommerce store loses sales twice: shoppers leave before pages load, and Google ranks slow pages lower. WooCommerce sites slow down for predictable reasons — hosting, caching, plugins, images and a database that grows for years without cleaning. Here's the order we work through them.

What slows a WooCommerce page down, from server to browser

Step 1: Measure first

Test your homepage, a category page, a product page and the cart in PageSpeed Insights on mobile. Note Time to First Byte (TTFB), Largest Contentful Paint (LCP) and Interaction to Next Paint (INP). A slow TTFB (over about 0.8 seconds) points to the server and PHP side. A fast TTFB but slow LCP points to images, scripts and the theme.

Step 2: Hosting and PHP

WooCommerce does real work on every uncached request: cart, prices, stock, taxes. Cheap shared hosting struggles with it.

  • Use a supported PHP version (8.x); old versions are slower and insecure.
  • Enable an object cache (Redis or Memcached) if your host offers it; it stores database results in memory.
  • Make sure the server is close to your customers, or use a CDN.

Step 3: Page caching, done safely

Full-page caching makes product and category pages load from a stored copy instead of running PHP. Use your host's cache or one well-supported caching plugin, never two. Always exclude cart, checkout and my-account pages from page caching, or customers will see each other's carts and tracking will break.

Step 4: Plugins

Most slow WooCommerce sites run 40 or more plugins, several doing the same job. For each one ask whether it earns its place. Common heavy items: page builders loading on every page, sliders, social feeds, multiple analytics plugins, and "all-in-one" plugins where you use one feature. A plugin profiler or Query Monitor shows which plugins take the most time on a request.

Checklist to speed up a WooCommerce store

Step 5: Images and front-end assets

  • Serve images in WebP, at the size they're shown, with lazy loading below the fold.
  • Make the main product image or hero image load early; don't lazy-load the LCP image.
  • Combine fewer fonts and weights.
  • Delay non-essential scripts (chat widgets, social pixels) until interaction, but test checkout and payment buttons afterwards: delaying payment scripts breaks them.

Step 6: The database

Years of orders, revisions, expired transients, old plugin tables and completed scheduled actions make queries slower.

  • Clean expired transients and post revisions.
  • Check autoloaded options: plugins you removed often leave large autoloaded settings behind, loaded on every request.
  • Trim old Action Scheduler logs for completed actions.
  • Use High-Performance Order Storage (HPOS) if your plugins support it; it moves orders into dedicated tables.

Back up before every database change.

Step 7: Cart fragments and AJAX

WooCommerce's cart fragments script can send an uncached request on every page to update the mini-cart. On many themes it can be limited to pages that need it. Also check admin-ajax.php calls from plugins on the front end; slow ones show up in the browser's Network tab.

Step 8: Measure again

Re-test the same pages and compare. Real-user data in Google Search Console's Core Web Vitals report updates over about 28 days, so watch the trend.

Example: where the time actually goes

Example figures, for illustration. Run a product page through PageSpeed Insights and WebPageTest and split the load into three parts:

MeasurementExample resultWhat it points to
Server response (TTFB)1.8 sHosting or missing page cache
Largest image (LCP element)900 KB JPEGImage size and format
JavaScript from plugins40+ scriptsPlugin load on every page

In this example, compressing images alone wouldn't be enough: the server takes almost two seconds before the browser receives anything. Fix the biggest part first. If server response is slow on cached pages too, the hosting is the bottleneck. If it's only slow for logged-in users or the cart, check database queries and heavy plugins with a tool like Query Monitor on a staging copy.

What you get when we optimize it

  • A speed audit of the homepage, a category page, a product page and checkout on mobile.
  • Caching, image, font and script fixes, tested on staging before going live.
  • Plugins that load where they aren't needed limited or replaced.
  • Database cleanup and a hosting recommendation if the server is the limit.
  • A before-and-after report with Core Web Vitals.

If a hosting move or a plugin replacement is needed, we agree it with you before any work starts.

What to have ready before you contact us

  • Your hosting provider and plan name.
  • The caching, optimisation and image plugins you use.
  • The pages customers complain about, or that matter most for sales.
  • A staging copy, or permission for us to create one. Admin access through a separate user, never your own password.

Get it done for you

Our Store Speed & Tracking Fix starts at $199. We profile the server, caching, plugins, images and database, fix what's slow on a staging copy, keep checkout and tracking working, and send a before/after report, usually within 3–5 days. For larger rebuilds, our WooCommerce development team works at $25–$49 per hour. Running Shopify instead? See why Shopify stores slow down after apps. Book a call.

Frequently asked questions

Why is my WooCommerce site so slow?

Most often a mix of weak hosting, missing or misconfigured caching, too many plugins, oversized images and a database full of old data.

Which pages should never be cached in WooCommerce?

Cart, checkout and my-account pages, plus the order received endpoint. Caching them shows wrong carts and breaks tracking.

Does the number of plugins matter?

What matters is what each plugin loads and when. A few heavy plugins can slow a site more than many light ones, but duplicates should always go.

Is it safe to clean the WooCommerce database?

Yes, with a full backup first. Expired transients, revisions and leftover autoloaded options are safe to remove; orders are not.

How much does WooCommerce speed optimization cost?

Our Store Speed & Tracking Fix starts at $199 and includes a before/after report, usually in 3–5 days.

Is cheap hosting the problem?

Often. If uncached pages take more than a second before anything arrives, no plugin will fully fix it.

Which caching plugin is best for WooCommerce?

One that matches your server, such as LiteSpeed Cache on LiteSpeed hosting, with cart, checkout and account pages excluded.

Will a faster site rank higher?

Core Web Vitals are one ranking signal among many. The bigger, more reliable gain is usually a higher conversion rate on mobile.

Does a CDN help a WooCommerce store?

Yes for images, CSS and scripts, especially for visitors far from your server. It doesn't fix slow server responses on uncached pages such as cart and checkout.

Tell us what you need

Call, WhatsApp or send a message. We reply within a few hours, Saturday to Thursday.