Exclude Widget from Cache




Wordpress LScache Plugin: Exclude Widget from Cache

Last Updated on: Wed, 15 Apr 2026 00:00:02
I am using the Jetpack Milestone Widget in my sidebar, however with the LS plugin enabled it caches the widget and the countdown days do not change. How can I stop it from caching that widget so it will show the correct amount of days (it has been stuck on the same day now for 4 days? You can see it in the sidebar here: https://nuttyhiker.com Hi @nuttyhiker, please try to set the widget as an ESI block (Creating new Widget ESI Blocks section). Also, since it appears on your sidebar, it would be best not to exclude it from cache, as that would slow down every page on which it appears. Its better, instead, when you set it as an ESI block, to set it as Public cache, but for a shorter time than the rest of your site. Since it only needs to change once a day, you could set it to any amount up to 24 hours (86400 seconds). I have already tried that, it just made the widget disappear altogether. The only way it becomes visible it to disable ESI for that block. For reference, I just enabled it and set it to public. As you can see in the sidebar that widget has now disappeared. Could you please provide?your Report Number? BZBFWBXM Hi @nuttyhiker, could you please join our Slack channel or submit a ticket here for helping us to reproduce the bug, thanks! Ok, just submitted a ticket



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



Reference