Special OfferSave up to 35% on multi-year hosting plans + Free AutoSSL & Domain setup!
Get Started
articleWordPress & WooCommerce

Optimizing WooCommerce Speed: Database Cleanup, Cart Fragments, and Redis

Accelerating WooCommerce store checkout, disabling AJAX cart fragments on non-shop pages, and caching transients with Redis.

Hostinov Engineering TeamUpdated: 2026-09-173 min read8,900 views410 found helpful
Tags:#WordPress & WooCommerce#Hosting#Cloud

Why WooCommerce Stores Slow Down#

WooCommerce generates dynamic database queries for sessions, cart calculations, and product variations that cannot be cached as static HTML for logged-in shoppers.


3 Essential WooCommerce Optimizations#

  1. 1
    Enable Redis Object Cache: Caches customer session transients in RAM, eliminating 80% of repetitive MySQL queries during checkout.
  2. 2
    Disable AJAX Cart Fragments on Blog Pages: By default, WooCommerce queries /?wc-ajax=get_refreshed_fragments on every single page. Use LiteSpeed Cache or code snippet to run this only on store/cart pages.
  3. 3
    Clean Up Expired Transients: In WordPress Admin -> WooCommerce -> Status -> Tools, click Clear customer sessions and Clear transients.

Was this article helpful to you?

Your feedback helps our sysadmins keep technical guides accurate.

24/7 Priority Support

Need a sysadmin to configure this for you?

Our tier-3 systems architects are available 24/7 to assist with migration, DNS records, or SSL issues.