{"id":1572,"date":"2023-06-28T20:23:33","date_gmt":"2023-06-28T20:23:33","guid":{"rendered":"https:\/\/www.darrenlambert.com\/?p=1572"},"modified":"2023-06-28T20:23:54","modified_gmt":"2023-06-28T20:23:54","slug":"fix-lightspeed-cache-woocommerce-caching-issues","status":"publish","type":"post","link":"https:\/\/www.darrenlambert.com\/fix-lightspeed-cache-woocommerce-caching-issues\/","title":{"rendered":"Fix LightSpeed Cache + WooCommerce Caching Issues"},"content":{"rendered":"
If have any issues with LightSpeed Cache incorrectly caching WooCommerce data try this fix.<\/p>\n
Go to LightSpeed Cache > Cache > Excludes tab<\/p>\n
<\/p>\n
Under Do Not Cache Cookies, add:<\/p>\n
woocommerce_items_in_cart<\/pre>\n<\/p>\n
Save this, then clear all caches.<\/p>\n
This solved a problem for me where the same product was being added twice, but with different attributes, and LightSpeed cache considered them the same product (making the quantity 2) rather than dealing with them as separate product lines.<\/p>\n","protected":false},"excerpt":{"rendered":"
If have any issues with LightSpeed Cache incorrectly caching WooCommerce data try this fix. Go to LightSpeed Cache > Cache > Excludes tab Under Do Not Cache Cookies, add: woocommerce_items_in_cart Save this, then clear all caches. This solved a problem for me where the same product was being added twice, but with different attributes, and …<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[13],"tags":[],"yoast_head":"\n
Fix LightSpeed Cache + WooCommerce Caching Issues - Darren Lambert<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t\n