Turning on redis support breaks specific add-to-cart function




Wordpress LScache Plugin: Turning on redis support breaks specific add-to-cart function

Last Updated on: Wed, 15 Apr 2026 00:00:02
Right now, I have disabled the object caching with redis, as it is broke this page for our users. When they click an Add to Cart button, they receive a message on screen that the product was added to the cart, but nothing is added. This only happens with the LSCache Object Caching using redis is turned on. When I turn this feature off, things work as expected. This WooCommerce product has a lot of variations entered on it, and it is using the variations table plugin to display the content: https://codecanyon.net/item/woocommerce-variations-to-table-grid/10494620 I dont know what to possibly add to exclusions in order to have this work properly with the redis object caching support turned on. I do see that it is calling an add-to-cart.js inside the variations table plugin when the button is clicked. We had tried a different WordPress redis plugin, and it didnt cause a problem with this feature, but it seemed to have other issues when we tried to update/deactivate plugins. The page I need help with: https://simplycharlottemason.com/store/scratch-and-dent/ Hi @scmsteve, could you try to add wc_session_id on LiteSpeed Setting > Object Cache > Do Not Cache Groups? Thank you very much, that solved it. I would have never found that. I appreciate the quick and excellent support!



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference