• Resolved t0t0r0555

    (@t0t0r0555)


    Hello. I have a problem on my site where not logged-in users are served expired data, specifically, the calendar on my page. The calendar plugin I use is ICS Calendar. I have to manually purge the page everyday. Besides calendar, I have other static content on the same page too so I don’t want to go with excluding the page from being cached solution.

    I have contacted the calendar plugin developer but they can’t help. I have tried turning on ESI but the shortcode will not work if I put [esi] in the shortcode. Please help. I’m using LSCache + Cloudflare but I only use Cloudflare to cache wp-content/uploads. This is the LSCache configuration generated automatically on my htaccess file: https://i.imgur.com/Bn4h1wh.png

Viewing 6 replies - 16 through 21 (of 21 total)
  • Plugin Support qtwrk

    (@qtwrk)

    well , the report shows _version = 4.4.5

    but it should be showing as _version = 4.4.6-rc1

    please upgrade it again , in toolbox -> beta test -> click “dev” and upgrade

    make sure you didn’t see any error message shows up

    Thread Starter t0t0r0555

    (@t0t0r0555)

    @qtwrk That’s probably because I use the old report number, made on December 15. Here’s the new report number: HEAPMKJE

    Plugin Support qtwrk

    (@qtwrk)

    okay , please enable debug log for that page’s loading

    I might have an idea , but need the log to confirm it

    Thread Starter t0t0r0555

    (@t0t0r0555)

    @qtwrk Here’s the debug log. I followed exactly like in the YouTube video. The affected pages are homepage and /schedule btw

    Plugin Support qtwrk

    (@qtwrk)

    please create a ticket by mail to support at litespeedtech.com with reference link to this topic

    we will investigate it further

    Thread Starter t0t0r0555

    (@t0t0r0555)

    I’m happy to inform that my issue has been solved!

    1. Turn on ESI in Cache > ESI > Enable ESI > ON
    2. Use latest dev branch from Toolbox > Beta Test > dev > Upgrade
    2. Put ESI in shortcode [esi xxx ttl="0"]
    3. Save changes and publish the page.

    After sending a ticket and @qtwrk take a look, it turns out that the shortcode becomes plain texts after inserting esi is because I’m viewing it in Elementor live editor and preview. All I need to do after doing step 1 – 3 is just save changes to the page, and see the published and updated page LIVE without using the Elementor editor.

    Now my ESI is working as expected – I’m able to exclude the calendar from being cached while keeping other elements in the same page being cached. Thanks again @qtwrk !

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘How to not cache calendar only?’ is closed to new replies.