Most store owners start speed work by installing an optimisation plugin and hoping. A better way is to find out what is actually slow, fix that, and check that the fix worked. This guide follows that order, and it applies wherever your store is hosted.
Start by measuring
Google's free PageSpeed Insights tool tests one address at a time.
- Open pagespeed.web.dev.
- Test your home page, your busiest category page and your best-selling product page separately.
- Read the Mobile results first, since many shoppers will be on a phone.
- Save the results with today's date, so you have something to compare against later.
Real visitors and lab tests are different things
The report can show two kinds of data.
Real-user data comes from Chrome users who have agreed to share usage statistics. It covers the previous 28 days. If one page has too few visits, the tool shows figures for your whole site instead. A new or quiet store may have no real-user data at all, and that is normal.
Lab data comes from one simulated visit on a mid-range phone and a mobile network. It is useful for finding causes, but it may not match what your customers experience. The 0 to 100 performance score belongs to this part: 90 or above is rated good, 50 to 89 needs improvement, and below 50 is poor.
Do not chase a perfect score. Use it to find problems, and trust real-user data when you have it.
The tool also sees your store as a new visitor with an empty cart, so try your checkout yourself on a phone.
What Core Web Vitals mean
Core Web Vitals are three measurements of how a page feels to use. These are the published thresholds as of November 2026.
| Measurement | What it tells you | Good | Poor |
|---|---|---|---|
| Largest Contentful Paint (LCP) | How long the main image or text block takes to appear | 2.5 seconds or less | Over 4 seconds |
| Interaction to Next Paint (INP) | How quickly the page responds to taps, clicks and key presses | 200 milliseconds or less | Over 500 milliseconds |
| Cumulative Layout Shift (CLS) | How much the page jumps around unexpectedly while in use | 0.1 or less | Over 0.25 |
Anything between the two columns is rated "needs improvement". The figures are judged at the 75th percentile, which in plain terms means at least three out of four visits should reach the target.
Fix your images
Images are often the heaviest part of a page, and a shop is full of them.
Use a sensible size. WooCommerce suggests uploading product photos of at least 800 x 800 pixels and creates the smaller versions itself. Far larger files add weight your customers will never see. As a guide, web.dev's example is a 500-pixel space on a high-density screen, which needs an image about 1,000 pixels wide.
Compress before you upload. Lossy compression suits photos, but look closely at any image with text or sharp edges, since these can show marks.
Consider WebP. JPEG for photos and PNG for transparent graphics are the traditional choices. WebP and AVIF usually produce smaller files. WebP is the safer pick because browser support is wider.
Do not lazy-load your main image. Lazy loading delays images further down the page, which is helpful. Applied to the main image at the top, it only makes that image arrive later. WordPress has lazy-loaded images by default since version 5.5, and since version 6.3 it tries to leave out the image most likely to be the largest. Its guess is not always right, so check which element PageSpeed Insights names as your LCP.
Be careful with sliders and background images. An image added by JavaScript or set as a CSS background is found late by the browser. A plain, single banner image placed directly in the page is usually easier to load quickly than a slider.
Set width and height on images. When the browser does not know an image's size, it cannot reserve the space, so text jumps when the image arrives. This is a common cause of a poor CLS result. Banners pushed in at the top of a page cause the same trouble.
Review plugins and themes
- List every active plugin and write down what it does for your store.
- Deactivate and delete anything you no longer use.
- For the plugins you doubt, measure the store with the plugin on and then off, at a quiet time. Leave payment and shipping plugins out of this test unless you can check an order afterwards.
- If one plugin is clearly heavy, ask its support team or look for a lighter alternative.
Good extensions load their files only where they are needed, so it is fair to ask a vendor about this.
Chat widgets, tracking tags and review badges all run in the visitor's browser, and a busy browser responds slowly, which shows up in INP. If a script gives you no clear value, remove it. If you keep it, have it load with async or defer so it does not hold up the page.
Your theme matters too. WordPress's own performance guide says a light theme performs much better than a heavy, graphics-laden one.
Use caching, but keep cart and checkout out of it
A page cache keeps a ready-made copy of a page, so the server does not have to build it again for every visitor. This suits category and product pages.
Why cart and checkout must not be cached
WooCommerce tells store owners to exclude the Cart, Checkout and My Account pages from caching. These pages show information about one particular customer. If a saved copy were served, a shopper could see the wrong cart, an old total or someone else's details.
WooCommerce also lists cookies that caching tools should respect:
woocommerce_cart_hashwoocommerce_items_in_cartwp_woocommerce_session_woocommerce_recently_viewedstore_notice[notice id]
If your caching tool offers database caching, WooCommerce suggests considering an exclusion for _wc_session_ as well.
After you switch on any cache, test it yourself.
- Open your store in a private browser window.
- Add a product and confirm the cart updates.
- Change the quantity and confirm the total changes.
- Go through to the payment step.
- Change a price on a product and confirm the new price appears on the shop page.
Be cautious with settings that minify JavaScript. WooCommerce's caching guide recommends against it in at least one popular plugin, so repeat the test after changing them.
Add object caching with Redis
A page cache cannot help on cart and checkout, because those pages are built fresh each time. Object caching works at a different level, keeping the results of repeated database lookups in memory.
WordPress already has an object cache, but by default it is forgotten at the end of each page load. A persistent cache, such as Redis with the Redis Object Cache plugin, keeps that data available for later visits, which means fewer trips to the database.
This needs a Redis server, so check that your host provides one and that the plugin is actually connected. Cached data can be rebuilt, so if the cache is emptied the store should keep working, perhaps slower for a short time.
On Qila Cloud, Redis object caching is included on every plan. The Store and Agency plans add a full-page store cache that never caches cart, checkout or account pages.
Keep PHP current
PHP is the language WordPress and WooCommerce run on. WordPress's performance guide notes that newer versions usually bring speed improvements, and unsupported versions no longer receive security fixes.
As of November 2026:
- PHP 8.2 gets security fixes only until 31 December 2026.
- PHP 8.3 gets security fixes until 31 December 2027.
- PHP 8.4 is supported until 31 December 2028.
- PHP 8.5 is supported until 31 December 2029.
- WordPress recommends PHP 8.3 or newer.
- WooCommerce 10.8 and later lists PHP 8.3 or greater, tested up to PHP 8.4.
The newest PHP is not automatically the right one, so check that WooCommerce, your theme and your plugins all support a version before you move to it. Take a backup, make the change at a quiet hour, then place a test order. If something breaks, switch back. New Qila Cloud accounts start on PHP 8.4, and you can choose a different PHP version yourself.
Clean up the database
Take a full backup first, then work through these.
Routine tidying. WooCommerce's performance guide points to spam comments, old post revisions and expired transients (temporary saved data) as things to clear.
Built-in tools. Under WooCommerce > Status > Tools you will find options to clear expired transients and to delete orphaned variations, which are variations whose main product no longer exists.
One tool to leave alone. "Clear Customer Sessions" empties the carts of everyone shopping at that moment, so it is not a routine clean-up step.
Order storage. High-Performance Order Storage (HPOS) keeps orders in their own database tables, built for store workloads, rather than in the general WordPress tables. It has been on by default for new installations since WooCommerce 8.2 in October 2023, but older stores must turn it on themselves. Check that your plugins support it. The setting is at WooCommerce > Settings > Advanced > Features. WooCommerce advises syncing first with compatibility mode, then keeping that on for a while, so you can return to the old tables if there is a problem.
What to fix first
| What your report shows | Look at first |
|---|---|
| Slow LCP | The main image, then server response (caching, PHP) |
| Poor CLS | Missing image sizes, late banners and pop-ups, web fonts |
| Poor INP | Outside scripts and heavy plugins |
If you have no clear signal, this order works for most small stores:
- Measure and save your starting results.
- Fix the main image on your three key pages, then compress the rest.
- Remove unused plugins and scripts.
- Set up page caching with the correct exclusions, and test your checkout.
- Turn on Redis object caching.
- Move to a supported PHP version your plugins work with.
- Clean the database and review HPOS.
- Measure again.
Make one change at a time, so you know what helped and what broke. Lab results update as soon as you retest, while real-user figures cover 28 days and so change gradually.
If you would like a host that has these foundations in place, see our WooCommerce hosting or read about free manual migration.
Sources
- https://web.dev/articles/vitals
- https://web.dev/articles/lcp
- https://web.dev/articles/inp
- https://web.dev/articles/cls
- https://web.dev/articles/optimize-lcp
- https://web.dev/articles/optimize-cls
- https://web.dev/learn/performance/image-performance
- https://web.dev/articles/efficiently-load-third-party-javascript
- https://developers.google.com/speed/docs/insights/v5/about
- https://developer.woocommerce.com/docs/best-practices/performance/configuring-caching-plugins
- https://developer.woocommerce.com/docs/best-practices/performance/performance-optimization/
- https://developer.woocommerce.com/docs/best-practices/performance/performance-best-practices/
- https://developer.woocommerce.com/docs/features/orders/high-performance-order-storage/
- https://developer.woocommerce.com/docs/features/orders/high-performance-order-storage/enable-hpos/
- https://woocommerce.com/document/server-requirements/
- https://woocommerce.com/document/understanding-the-woocommerce-system-status-report/tools/
- https://woocommerce.com/document/adding-product-images-and-galleries/
- https://developer.wordpress.org/advanced-administration/performance/optimization/
- https://developer.wordpress.org/advanced-administration/performance/cache/
- https://developer.wordpress.org/reference/classes/wp_object_cache/
- https://wordpress.org/about/requirements/
- https://make.wordpress.org/core/2023/07/13/image-performance-enhancements-in-wordpress-6-3/
- https://make.wordpress.org/core/2020/07/14/lazy-loading-images-in-5-5/
- https://www.php.net/supported-versions.php

