• Resolved waitingegg

    (@waitingegg)


    Hello,

    I noticed that whenever I update an order in the WooCommerce admin panel — such as changing the order status or adding/editing an order note — it immediately triggers a full cache purge across the entire site.

    In my case, I do not want the cache to be cleared when updating WooCommerce orders. I only want the cache to remain intact while performing normal backend order management.

    Additionally, in the Breeze plugin settings, I have set “Auto Purge Varnish” to Disabled, but the cache purge still occurs whenever an order is updated.

    Could you please help me identify how to prevent Breeze from purging the entire site cache when WooCommerce order data is updated?

    System Information:

    • WordPress 5.8.3
    • Breeze 2.0.1
    • WooCommerce 5.4.4
    • Using Cloudways server with Varnish cache
Viewing 1 replies (of 1 total)
  • Plugin Author owaisalam

    (@owaisalam)

    Thanks for reaching out.

    When an order is updated in the admin panel, it triggers cache creation to ensure that the front-end displays the correct product status. If the cache is not purged, the updated values won’t reflect on the front end.

    For example, suppose you have Product A with a quantity of 10. If an order of 2 units is placed and approved, the remaining stock should show as 8 on the front end. If the cache isn’t purged, the updated stock value will not appear immediately.

    This is why purging the cache when an order is updated is necessary to keep front-end data accurate.

    Hope this clarifies the scenario.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.