At a glance
A slow store loses sales twice: shoppers leave, and search engines rank it lower. But “speed” isn’t one problem, and the fixes that help most depend on what’s slow. Measure first, then work down this list in order. The early steps usually give the biggest gains for the least risk.
Step 1: Measure before you change anything
- Run your home page, a category page, a product page and the cart through PageSpeed Insights. Look first at the field data (“what real users experience”), then the lab data.
- Note the three Core Web Vitals. “Good” means: Largest Contentful Paint 2.5 seconds or less, Interaction to Next Paint 200 milliseconds or less, Cumulative Layout Shift 0.1 or less.
- Time the admin too: how long does saving a product or opening an order take? A slow admin points at the server and database, not the theme.
Save the numbers. You’ll compare against them after each step.
Step 2: Hosting and PHP
Everything else rests on this. Check that you’re on a current PHP version (8.3 or 8.4), that OPcache is on, and that the server isn’t shared with hundreds of other busy sites. If Time to First Byte (how long the server takes to start answering) is regularly over a second on simple pages, better hosting will do more than any plugin.
Step 3: Caching that respects the cart
- Page caching serves ready-made pages to visitors. It’s the biggest single win for shop, category and product pages. It must never cache the cart, checkout or My Account pages, or pages for a visitor with items in their cart. Good WooCommerce hosting and caching plugins handle this; check it does.
- Object caching (Redis or Memcached) keeps database answers in memory. It helps most where page caching can’t: logged-in customers, the cart, the checkout and the admin.
Step 4: Images
- Serve modern formats (WebP or AVIF) at the size they’re shown. A 3,000-pixel photo shrunk to a 400-pixel card is the most common cause of a slow product grid.
- Lazy-load images below the fold, but not the main image at the top of the page. That one should load first.
- Give every image a width and height, so the page doesn’t jump while it loads (this is what Layout Shift measures).
Step 5: Plugins and scripts
- List every plugin and ask what it earns. Remove the ones you don’t use.
- Use a tool such as Query Monitor on staging to find plugins that run slow database queries on every page.
- Check which scripts load on every page. Sliders, chat widgets, review widgets and tracking tags often load everywhere when they’re needed on one page.
- Load third-party scripts (chat, heatmaps, ads) after the page, and only after consent where the law requires it.
Step 6: The database
- Turn on High-Performance Order Storage (HPOS) if your store doesn’t use it yet. It stores orders in their own tables, which makes order screens and searches faster. Check your plugins are compatible first (WooCommerce lists them under WooCommerce > Settings > Advanced > Features).
- Clear out old completed and failed entries in Scheduled Actions, expired transients, and old post revisions.
- Check the size of autoloaded options. Plugins you removed long ago sometimes leave large settings that still load on every page.
Step 7: Theme and fonts
Heavy page builders and themes that load every feature on every page are hard to make fast. Before a redesign, try the quick wins: host fonts yourself, load only the weights you use, and remove unused sections from the home page.
Step 8: Measure again
Re-run the same pages and compare with Step 1. Field data in PageSpeed Insights takes about four weeks to fully reflect a change, so judge by the lab numbers first and confirm with field data later.
What not to do
- Install three caching plugins at once. They fight each other.
- “Minify and combine everything” without testing checkout. It’s the most common way speed work breaks a store.
- Chase a perfect 100 score. Real-user Core Web Vitals in the “good” range matter more than a lab score.
Was this page helpful?
Thanks: every answer helps us improve this page.