Currently, after a stock change in woocommerce, the full cache is cleared. For a busy online shop, this basically disables caching, since the cache is already cleared again before it could be (fully) rebuild.
The obvious solution is to only clear the product that actually changed. RedCastor/cache-enabler has working code that does this.
Currently, after a stock change in woocommerce, the full cache is cleared. For a busy online shop, this basically disables caching, since the cache is already cleared again before it could be (fully) rebuild.
The obvious solution is to only clear the product that actually changed. RedCastor/cache-enabler has working code that does this.
see also: https://wordpress.org/support/topic/cache-gets-cleared-every-time-a-stock-change-happens-at-woocommerce/