Clear cache when discount is created
-
Hi
We have a site that uses WP Rocket and would like to clear the cache for products affected when a discount is created. Otherwise the discount won’t be visible.
Is that even possible with this plugin?
Also, there is a start / end time for discounts, so not even sure how it should be triggered.
I could create a cron job that checks for discounts and clears the cache for the term when needed, but it seems like a lot of work for what I assume is a common problem.
Any suggestions are welcome ??
Note: We have 60K+ products, so we want to avoid clearing cache on the whole site. A discount can be anywhere between 5 and 14000 products.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Clear cache when discount is created’ is closed to new replies.