Cache purge triggered on WooCommerce order status change
-
When I change the status of a WooCommerce order, I see the notice “Notified LiteSpeed Web Server to purge all LSCache entries.” although orders are not displayed at the front end and they shouldn’t be cached at all.
The Purge tab only provides a setting for WHAT to purge, but not under what conditions to do it.
This can cause an active store site to be uncached most of the time, which is definitely not a good thing.
Also, pages should be purged from cache if they are related to the page that’s changed. So if I change a post, there’s no reason to purge the main shop page, but if I change a product, the shop page may need to change too.
This can be achieved using post-type-based purge settings.
- The topic ‘Cache purge triggered on WooCommerce order status change’ is closed to new replies.