WooC Products does not purge




Wordpress LScache Plugin: WooC Products does not purge

Last Updated on: Wed, 15 Apr 2026 00:00:02
Report: NVTQLIMF About the setup: Have a cookie, which Ive set up with Cache-Vary in .htaccess, that can have 103 different values. Values is determined by which physical store the user choose view details from. Then when user is on a single-product, details like price are fetched from an acf-field which have the same name as the cookie-value. All the values are updated through woo/wp-api. The problem: Not all of the cache for a single-product, or product archives, is purged when updated. Say if user choose physical store nr 1, the cache is up to date and show the correct values. But then he choose physical store nr 2 and then the values shows old values before update. Hi @oyvindlille, do you mean when a user purchases something on nr1, nr2 and other locations cache does not get purged? Could you please provide?your Report Number, found in?WP Admin > LiteSpeed Cache > Report and the steps of how to reproduce the bug on your site? Hi @stanleylitespeed. Reportnumber: NVTQLIMF The site is not a typical WC-site as it does not use cart and each product has 103 different prices stored in metafields generated by acf. Different prices are shown based on the value of the cookie. Steps of how to reproduce the bug: A little bit hard to reproduce the bug right now since it seems to have finally have purged itself at last. But basically this is how it went down yesterday: New data for the product comes in through api and the correct values are shown backend in wp. 1. Go to https://sitename.domain/?p=14497 (Sitename is in the report.) 2. Choose a store on the top like Viddal (you can search in the empty field) 3. Price do show up, but shows the old price before POST/PUT from api. 4. Change store in top to Porsgrunn and the new price for Porsgrunn is there. Only a few of the stores got the new price. I tried Purge All, Purge all lscache and Purge this page but it didnt help. But like I said, it seems like it have finally purged all of them now ? 24hrs after I tried purge all. Unfortunately, the price, cache and vary are set up properly when I testing on your site. Could you let me know if that issue happening again? You can find me on Slack channel @stanley Cheung at Litespeed to get a sooner reply.



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



Reference