WooCommerce Hosting Settings and Performance

Updated: 4 December 20264 min read42 viewsMarkdown

A WooCommerce store uses far more server resources than a simple blog: cart, checkout and account pages are built for each visitor, and stock and order jobs run in the background. This guide covers the hosting-side settings that keep your store fast and stable.

A shop window with product cards and a shopping cart, next to resource gauges and a bar chart
Store performance depends on balancing PHP, memory, caching and background jobs.

Know your resource limits

Our hosting accounts run on CloudLinux, so each account has limits for CPU, RAM, entry processes (EP) and disk I/O. You'll find your plan's limits on the product page and in cPanel's Resource Usage screen. If the store keeps hitting them at busy times, consider a larger plan after trying the optimisations below.

1. Choose a current PHP version

Newer PHP versions are noticeably faster. In cPanel, use Select PHP Version (or MultiPHP Manager) to pick the newest stable version that WooCommerce and your plugins support. Test the store afterwards; if an old plugin turns out to be incompatible, switch back.

2. Set the memory limit

A PHP memory_limit of at least 256M is recommended for WooCommerce. Change it in cPanel's PHP options screen, then tell WordPress as well:

define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

These values can't exceed your plan's total RAM limit, and setting them higher than needed doesn't make anything faster.

3. Tune LiteSpeed Cache for a store

The LiteSpeed Cache plugin understands WooCommerce: it caches product and category pages and automatically skips cart, checkout and my-account pages. Things to watch:

  • Check that a product page's cache is purged when its stock or price changes.
  • If you use a currency or language switcher, look at the plugin's settings for keeping separate cache copies (vary) for each case.
  • Always test CSS/JS combine options on the checkout page; they can break payment forms.

4. Use a real cron instead of WP-Cron

WordPress checks its scheduled tasks (WP-Cron) on every page view. On busy stores this adds load; on quiet ones, tasks run late. The fix is to disable WP-Cron and set up a regular cron job in cPanel.

  1. Add this line to wp-config.php: define( 'DISABLE_WP_CRON', true );
  2. Open Cron Jobs in cPanel.
  3. Choose every 5 minutes and enter this command:
wget -q -O - "https://example.com/wp-cron.php?doing_wp_cron" >/dev/null 2>&1
Note

WooCommerce lists its background jobs under Tools > Scheduled Actions (Action Scheduler). If many pending or failed actions pile up there, check your cron setup.

5. Shrink your images

Product photos are usually the biggest part of a page. Resize images to sensible dimensions before uploading, use WebP and turn on lazy loading. An image optimisation plugin can compress your existing library in bulk.

6. Keep the database tidy

  • Regularly clean old revisions, expired transients and trashed comments.
  • High-performance order storage (HPOS), under WooCommerce Settings > Advanced > Features, speeds up queries as orders grow. Turn it on once you've confirmed your plugins are compatible.
  • Remove plugins you don't use; every plugin adds work to every page load.

Troubleshooting

SymptomLikely causeFix
503 or 508 errors during a saleResource limit (EP/CPU) reachedCheck caching, review the Resource Usage screen, upgrade if needed.
Slow checkoutExternal payment/shipping API calls or heavy pluginsDisable plugins one by one to find the bottleneck.
Order e-mails arrive lateWP-Cron isn't running regularlySet up a real cron job.
The cart shows another visitor's itemsThe cart page was cachedExclude cart and checkout in the cache plugin and purge.

Frequently asked questions

Which plan suits a store?

It depends on your product count and daily visitors. Our E-commerce Hosting plans come with LiteSpeed, NVMe storage and CloudLinux, and growing stores can move to plans with more CPU and RAM. If your traffic outgrows shared hosting, a VDS may fit better.

Should I use a CDN?

If your visitors are spread across countries, a CDN can help with static files. If most are in one region, focus on caching and image optimisation first.

My speed-test score is low. Is the server the problem?

The score is usually driven by the theme, images and third-party scripts. Measure server response time (TTFB) separately; on cached pages it should be short.

When choosing a plan for your store, see WordPress Hosting, or VDS servers if you need more resources. If you get stuck, open a support ticket from the Client Area.

Was this article helpful?
Thank you for your feedback.