• I’m having an issue with Breeze cache interfering with WooCommerce mini-cart/cart contents.

    Symptoms:

    • On homepage, shop and category pages the cart count/mini-cart often shows as empty even when items are in the cart.
    • Product pages work fine.
    • Adding /?nocache to the URL instantly fixes the problem, which suggests server-side cache is serving a stale HTML copy.

    Troubleshooting already done:

    • Verified Cloudflare rules: dynamic endpoints (wc-ajax, admin-ajax, wp-json) are bypassed and return cf-cache-status: BYPASS.
    • Set Cloudflare Browser TTL back to “Respect headers.”
    • Added Varnish cookie exclusions for WooCommerce (woocommerce_items_in_cart, woocommerce_cart_hash, wp_woocommerce_session_, etc.).
    • Disabled Varnish entirely — issue still present.
    • Disabled Breeze “Cache System” and “Browser Cache” — issue immediately fixed, mini-cart always reflects the correct cart contents.

    So this confirms that Breeze’s page cache is caching the HTML that contains the cart fragments, and serving a stale “cart=0” view to shoppers.

    Question:
    What is the recommended way to configure Breeze so that it never caches WooCommerce cart/session-dependent content (homepage, shop, category pages), while still allowing me to benefit from Breeze for static asset optimisations?

    I’d like to avoid fully disabling Breeze if possible, but right now it looks like it’s caching the mini-cart info even though WooCommerce uses cookies to identify sessions.

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this review.