Optimize and Improve WooCommerce Loading Speed
Updated last month
WooCommerce is a plugin that lets us turn our WordPress site into an online store, but we often encounter very heavy, slow sites that require a great deal of work and investment to transform them back into a fast, agile platform.
In addition to the general recommendations for improving WordPress loading speed, below we’ll detail some specific tips for speeding up our WooCommerce store.
Disable Geolocation
WooCommerce can identify the visitor’s country in order to automatically display it during checkout. If we sell only in one country, this option is irrelevant. And even if we did, it is often more convenient simply to set the most common country as the default option and disable geolocation.
To do this, go to WooCommerce → Settings, and under the "Default customer location" option, select Shop country/region.
Optimized Databases
WooCommerce generates a significant number of MySQL queries, so keeping our database in good condition is essential.
Using the plugin we recommend, LiteSpeed Cache, under the Database option, we can:
● Delete expired transients ● Optimize tables ● Convert all MyISAM tables to InnoDB using the "Database Table Engine Converter".
These are the only 3 actions we recommend carrying out. What you do with the rest is up to you.
Enable WooCommerce HPOS
WooCommerce High-Performance Order Storage (HPOS) is a feature that WooCommerce introduced in version 7.1. It will be included by default starting next year and will allow dedicated, optimized tables to be created for WooCommerce instead of using the default table format that WordPress uses for posts and pages.
In the meantime, we can enable it manually from the WooCommerce menu, under the Advanced tab, Features:
Some plugins may not yet be compatible with HPOS. In that case, as shown in the screenshot, it will indicate which plugins are incompatible with this excellent new feature.