5 Ways to Speed Up Your WooCommerce Store #FasterHosting
A large WooCommerce web shop can be quite slow if you don’t optimize it. Here we give you 5 ways to optimize your WooCommerce store for super fast loading speed:
1. Increase WP Memory Limit
To check your WP Memory Limit, go to WordPress admin > WooCommerce > System Status and check the value for WP Memory Limit. Default is 64 MB. Increase it to 96 or maybe 128 MB by editing your wp-config file. Somewhere around row 83, just under define('WP_DEBUG', false);, add these rows (if they are not there already) and adjust the values:
define( 'WP_MEMORY_LIMIT', '128M' ); define( 'WP_MAX_MEMORY_LIMIT', '256M' );
More than 128 is usually not recommendable.
Note that it is useless to set a value that is higher than the server’s PHP memory_limit. With ServeU.net hosting, you can set the PHP memory_limit yourself in the hosting control panel without file editing. With many other hosts, you change it by editing the php.ini file. If you're with a host where you can’t access your php.ini, you can try to set it by adding the following line to your .htaccess file:
php_value memory_limit 128M
2. Optimize images
With a good image optimizer, you can make your pictures a lot smaller, which will of course speed up your WoCommerce store. There are several options out there. The good ones typically starts for free but if you have many images, you will have to pay a few bucks. But it is worth it.
Check out this comparison of three popular image optimizing plugins.
3. Use a Cache Plugin
You must use a cache plugin. The best option is WP Rocket (we have no affiliation with them). It's a premium plugin but it is absolutely worth the bucks if you are serious about your WooCommerce shop. WP Rocket is extremely easy to configure and gives you the best performance out of the box.
If you want a free caching plugin and are not afraid of diving in to lots of options, you can try W3 Total Cache. But be ready to spend some time to experiment on what options suits your site and hosting environment best. W3 Total Cache includes a minifier (see next point).
WP Super Cache is a free plugin that is bit easier to configure than W3. Both are great plugins that can do a lot for your overall site speed.
Another free option that is really easy to set up is Cache Enabler. But note that you may need to exclude the WooCommerce cart and checkout URLs from caching to make it work.
4. Optimize your CSS
5. Use Varnish Cache
We have seen huge performance boost for WooCommerce sites using Varnish Cache. But Varnish has to be properly configured for WooCommerce. Here is a Varnish configuration that is optimized for WooCommerce.
WooCommerce can be substantially faster with proper optimization. If you increase wp_memory_limit, optimize your images, use a cache plugin, minify your CSS, and use Varnish, your WooCommerce store can actually load several hundred times faster than today.
Good luck, and please share your experiences with us in a comment!