Wordpress LScache Plugin: frequent price updates
Last Updated on: Wed, 15 Apr 2026 00:00:02 Im running a gold/silver webshop and need to update the product prices frequently (preferably every 5 minutes). Im using the wordpress REST API to update the product prices. The current website uses a different caching plugin, but the full cache is invalidated each time a product price is updated, so Im looking for a better solution. I couldnt find any specific documentation on how litespeed cache responds to product price updates. How does litespeed cache react to price updates? Is the full cache invalidated or just the part with the product price? Do I need to use tags/hooks to update the price in the cache? Hi @poorthuisp, you can use our ESI (Edge Side Includes) feature which can just punch a hole for your price component and make it as 5min TTL then you can keep the page cache as long as possible. But you need to customize your code for this function, please check on our ESI sample for developers for more details.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference