LsCache & WooCommerce – Mini cart cached
-
Hi,
I’m using WooCommerce and LiteSpeed cache. I have the widget mini cart on my left menu and the cart is cached. When I’m adding a product to the cart it stays empty. Even more, when I’m adding a product to my cart, there is an automatic cart preview sliding from the right that says : Cart is empty. It’s working if I’m disabling LsCache.
I’ve tried to add RewriteRule .* – [E=Cache-Vary:woocommerce_cart_hash] in my htaccess and also woocommerce_items_in_cart in cookie exclusions from LS cache but doesn’t work.
I’ve seen a lot of topics about this issue, but the given solutions are the htaccess ans the cookie exclusion.
Is anyone having an idea how to fix that ?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘LsCache & WooCommerce – Mini cart cached’ is closed to new replies.