Help with ESI shortcodes




Wordpress LScache Plugin: Help with ESI shortcodes

Last Updated on: Wed, 15 Apr 2026 00:00:02
Can somebody explain better how the ESI shortcodes will work. I have a site that shows a banner between 9pm and 9am across the site, through a shortcode which I created and set as ESI for public with a 300 ttl (which is fine for us). But, its really common that logged in users keep seeing the banner during the whole day. The problem only occurs at Home Page, which have a one week TTL. Both public and private templates have TTL set to half an hour. Now, if I understood right, the banner from the ESI shortcode should be refreshing at Home Page each 5 minutes (per set in the shortcode) while the Home Page itself will only refresh at 1 week, is that right? Now, why logged in users are seeing a cached banner from hours ago, while logged-out users are seeing it correctly (without banner)? Or am I wrong, the shortcode will only clear its cache when the page clear its cache, meaning that there is no point in having a shortcode with shorter TTL than the main page where its set? Hi, First of all , could you please provide the report number ? You can get it in toolbox -> report -> click send to LiteSpeed Best regards, Hi, Im going to mark this topic Resolved , due to lack of activity. If you still need help, please feel free to re-open it. When re-open it, please also change the topic status to not solved Best regards,



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



Reference