Wordpress LScache Plugin: How to specify the script to not cache?
Last Updated on: Wed, 15 Apr 2026 00:00:02 I have a script similar to the counter, written in footer.php, and then displayed in the right column, but after the LiteSpeed Cache, the counted number will not jump, how to set the script not fast? I have tried adding footer.php to not fast, or not jumping numbers. The page I need help with: https://sakamoto.blog You can either set it to an ESI to make the visit hit wordpress each time when loading that page, or use ajax call to record the count. Later one is recommended bcos it wont delay your main page loading. If you use ESI, you need to set it to no cache, which means each time your page is visited, even it is cached, but because it has a section needs to hit PHP always, that makes the whole page same as not cached.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference