First things to consider with WooCommerce & speed

Written by Nicole Kohler on March 23, 2016 Blog, Technical WordPress, WordPress tips & tricks.

Humans want things to happen fast. We expect short waits in line, fast food, entertainment on demand — all in all, instant gratification.

It’s this mindset that leads us to anticipate websites that load and deliver content quickly. If we don’t get what we want, we can always go somewhere else and find the same thing.

This means that your WooCommerce-powered store has to be fast to gain as many paying customers as possible. If your site is sluggish or its pages take a long time to load, visitors will abandon it for your competitors, and you’ll miss out on countless sales.

To help you achieve the necessary goal of having the fastest, most efficient online store possible, we’ve compiled these first steps to speeding up WooCommerce. From image compression to up-to-date extensions, these are a few ways you can streamline your store for optimal performance.

Look to your host to make a big impact

When you first open your online store, you might start with an inexpensive shared hosting environment. It’s a sensible first step — no point in overspending if you don’t know how much traffic you’re going to get, or what kind of resources you’re going to need.

But as traffic increases and you grow your store, your host will strain to keep up. Inexpensive hosting plans won’t afford you much disk space, memory, or bandwidth, and you might find that you’re coming close to — or even going past — the max allotted each month.

This is why it’s crucial to not only keep an eye on how your plan is matching up with your consumed resources each month, but also to potentially seek out hosts and hosting plans that can offer better options for your store in the long run.

Choosing a reliable host, and keeping an eye on your plan and its resources, can keep your site running smoothly.
Choosing a reliable host, and keeping an eye on your plan and its resources, can keep your site running smoothly.

Each month, log into your cPanel (this information should have been provided when you signed up) and look for reports detailing your usage of resources — specifically your bandwidth, as well as page load times.

If you spot anything that looks concerning, your site seems sluggish to you, or you start hearing complaints from your customers, it’s time to make a change. Consider upgrading your hosting plan, or even migrating to a different host that can better meet your needs.

With more resources available, your store will be able to consistently deliver its content quickly. But that’s not all you can do to keep WooCommerce running efficiently.

Optimize your images so they load quickly

Image optimization can play a huge part in reducing the load times of your individual product pages, especially if you have multiple photos or large, high-quality ones.

One of the best ways to get your images — and in turn, your store — loading faster is through compression. With compression settings made specifically for the web, you can generate product photos that look beautiful, but are sometimes as much as 80-90% smaller than the original.

Properly compressed images look beautiful, but load much faster than non-compressed ones.
Properly compressed images look beautiful, but load much faster than non-compressed ones.

You can compress the images for your store very quickly, and all for free. If you have access to a tool like Photoshop or GIMP, try the “Save for Web” setting; if you want to use a web tool, TinyPNG will do the trick. There’s even a WordPress plugin called WP Smush that you can try.

Since images can be one of the largest files added to an online store, if you have a lot of them, it makes sense to shrink them down and, in turn, speed up your site.

Try out a content delivery network

We’ve mentioned content delivery networks (or CDNs) a few times in the past, and that’s because they’re a fantastic first step for store owners looking to quickly and affordably speed up their stores.

CDNs take two steps to streamline your website:

  • They duplicate your site across multiple worldwide servers, so when a visitor arrives, the copy they see will be delivered from the closest location, reducing wait time.
  • They also deliver cached (or non-live) copies of all pages and files, so there’s a little less wait because the servers don’t have to be queried constantly. (CDNs usually update to fresh files on a set frequency, or you can force an update to reflect new changes.)

Content delivery networks like CloudFlare and Amazon CloudFront have free plans ideal for small stores, and paid ones suitable for growing sites or those with more advanced needs. So you can start for free and scale up over time, but still enjoy the benefits of a speedier site — and happier customers.

Stay up-to-date

So far we’ve talked about ways that you can keep your store fast through hosting, optimized images, and content delivery. We’ll round up these beginner tips with two best practices that won’t just help you stay speedy — they’ll also help you stay secure.

Updating WooCommerce and its extensions might seem like a hassle at first, but it’s a necessity. Our ninjas are constantly working on improvements to our products, including tweaks for speed, because we know your store should load and perform as quickly as possible.

In fact, the most recent major release of WooCommerce, version 2.5, was even codenamed “Dashing Dolphin” because of its focus on speed. Dashing Dolphin’s optimizations, which you can read about on our development blog, decreased the usage of transients and the wp-options table.

If all of your extensions, plugins, and other store components are kept updated, you'll be free of outdated and potentially sluggish or conflicting code.
If all of your extensions, plugins, and other store components are kept updated, you’ll be free of outdated and potentially sluggish or conflicting code.

If all of your installed extensions are kept up to date, you’ll be less at risk of running outdated code, or encountering conflicts that could slow down (or even break) features of your store. Updates will also keep you secure and protected against recently discovered bugs or vulnerabilities — all the more reason to get them installed ASAP.

Just getting started with updates? Want to know how to test them first or try out a staging site? Check out this guide for some help.

Evaluate new and existing WordPress plugins and WooCommerce extensions

It’s a commonly held belief that a store owner can install too many WordPress plugins and/or WooCommerce extensions. But as this WPEngine article explains, it’s not necessarily the amount, but the quality that matters:

The number of plugins is less important than the quality of them. When you hear folks tell you, “running fewer plugins will make your site faster,” that’s not 100% true. Sometimes a single plugin can make all the difference in pageload time because it loads too many scripts.

If you think a plugin or extension is slowing down your store, temporarily disable it and run some speed tests. You can use a free tool like Pingdom to compare specific page load times both with and without one or more plugins enabled, which will give you highly accurate benchmarks to look at.

Also, before installing any new plugin or extension, try to get a good grasp on how it could potentially impact the speed of your store. User reviews and ratings can tell you if something might slow down your store, or if the potential problem you’re going to solve with that plugin is going to create a new one by creating a lag in load times.

Again, this doesn’t just help your store’s speed — it can also keep your more secure. Evaluating plugins before they’re installed can ensure you’re choosing the best solution, saving money, and doing what’s best for your store and its shoppers.

A fast store has benefits for everyone

Keeping your WooCommerce-powered store moving quickly won’t just make your shoppers happy — it’ll also make them more likely to buy from you. Shoppers won’t wait around forever for your pages to load. So if you can keep things streamlined and your store delivering, you’ll be much less likely to lose those visitors to your competitors.

Have any questions about these first few tips we’ve provided to help keep your online store moving at top speed? Or any tips of your own to share? The comments are open and we’d love to hear from you.


8 Responses

  1. Jesse
    March 24, 2016 at 8:41 am #

    Great share, kudos Nicole.

    We agree that your host/server is the #1 most important thing to keep in mind when speeding up WooCommerce, and in our experience a VPS with at least 2GB RAM along with Opcache enabled works wonders… CloudFlare also helps stabilize across various regions, but keep in mind that WooCommerce causes “uncached” queries based on its nature, which is why having more RAM is often important in contrast with a simple WordPress blog.

    And while the infamous admin-ajax loading issues have been greatly improved with recent versions of WooCommerce, the ?wc-ajax=get_refreshed_fragments AJAX can still prove to take a while on some sites. Disabling that when appropriate and/or disabling shopping cart queries (i.e. # items in cart) helps a lot we’ve found:

    add_action( 'wp_enqueue_scripts', 'dequeue_woocommerce_cart_fragments', 11); function dequeue_woocommerce_cart_fragments() { if (is_front_page()) wp_dequeue_script('wc-cart-fragments'); }

    All this on top of a solid LEMP-stack VPS configuration and the rest is history 🙂

    • Nicole Kohler
      March 24, 2016 at 3:30 pm #

      Thanks Jesse! These are some great additional bits 😀

  2. Jake
    March 24, 2016 at 3:49 pm #

    Yes you guys are right hosting plays a crucial role as we were first with shared hosting and installed the woocommerce shop and things started to run. So we finally had to move to VPS to handle the visitors.

    Could you tell me if NGINX can handle more traffic ?


  3. Lyse
    March 26, 2016 at 6:25 pm #

    Great article! How true that you host makes all of the difference.

    Thank you for this handy post, which I bookmarked for reference, for when I need to justify the cost to my clients for better performance and security.


    • Nicole Kohler
      March 28, 2016 at 4:02 pm #

      Many thanks Lyse!

  4. Mithun
    April 2, 2016 at 1:52 am #

    Speed also part of google top rank.It’s helps us to increase conversion.for image optimization,personally I use Tinypng ( great stuff) also I use CDN 🙂 thanks for your useful tips

  5. Venkat
    April 6, 2016 at 11:30 am #

    What’s the minimum disk space required on a VPS to host a WooCommerce website? Can’t find this anywhere in the article.

    • Nicole Kohler
      April 9, 2016 at 3:58 am #

      Hi Venkat, this is a great question, and I hadn’t included this info in my post.

      Here are the WordPress minimum hosting requirements: and WooCommerce:

      So you’ll notice there’s nothing in there about disk space. With the SQL backend and nearly-empty tables to start, the plugins don’t take up much room. As you add on extensions, add products, fill up those tables, you’re adding on a few more MB. Then with images, that’s a lot more, and it grows and grows from there.

      There’s not really a minimum disk space number, to answer your question — anything that you get at the lowest tier of any hosting plan will be enough to just install WordPress and WooCommerce. A better question would be “how much do I plan on adding to my store that will take up disk space as time goes on?” And for that I’d say 500 MB is a safe starting point, but probably 1 GB if you feel like being really really safe. 🙂

      I hope that helps, even if I couldn’t answer your question directly!


The most customizable ecommerce platform for building your online business.

  • 30-day money-back guarantee
  • Support teams across the world
  • Safe and secure online payment
%d bloggers like this: