• Resolved devtestconcise

    (@devtestconcise)


    Hi,

    I need few elements to have very less Cache time and so I added them as Shortcodes with ESI as given below.

    <?php echo do_shortcode('[esi asx_price ttl="30"]'); ?>

    It’s working fine but after few days, these Shortcodes not returning anything and just empty. Please see below for rendered output with blank data.

    <h4><!-- lscwp esi-shortcode --><!-- Block generated by LiteSpeed Cache 5.3.3 on 2023-04-25 16:42:06 --><!-- lscwp esi-shortcode esi end --></h4>

    But when I flush LiteSpeed Cache, it starts working again and an example of the rendered output of Shortcode is given below.

    <h4><!-- lscwp esi-shortcode --><a href="https://www.example.com" target="_blank">ASX:  $0.105 <span class="green">0%</span></a><!-- Block generated by LiteSpeed Cache 5.3.3 on 2023-04-26 10:23:22 --><!-- lscwp esi-shortcode esi end --></h4>

    This issue is appearing in all my sites and can you let me know what’s wrong with this and why only these Shortcodes rendering blank output after a few days when I manually flush LiteSpeed Cache?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support qtwrk

    (@qtwrk)

    please create a ticket by mail to support at litespeedtech.com with reference link to this topic , we will investigate further.

    Thread Starter devtestconcise

    (@devtestconcise)

    OK thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problem with ESI Shortcode’ is closed to new replies.