• Resolved johnny_n

    (@johnny_n)


    I’m trying to enable ESI on a widget

    I’ve enabled ESI in Litespeed Cache -> Cache -> ESI.

    In the Widget (classic) I’ve prepended ESI [ESI….]

    In the Litespeed settings in the widget block, I select public and TTL 0 so it’s not cached at all for testing. Save.

    Reload the page and it’s disabled again.

    Seems like this should work am I doing something wrong?

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support litetim

    (@litetim)

    @johnny_n We are aware of the issue and we are working to add a solution, somehow.
    We are working at 7.0 and we will look over this issue in one of our future versions.

    Until then I can leave you this push that contains a fix: https://github.com/timotei-litespeed/lscache_wp/commit/f207f2c6658c0fec83cae1747ee6d8be1a2ede2d It works for one client, but is not tested to more clients. Take the code as suggestions and if you want to make them, you do on your own, we are not taking responsability on the results.

    Thread Starter johnny_n

    (@johnny_n)

    Thank you @litetim

    Fair enough! I do appreciate it and I’ll give this a shot, I will report back (it might take me a couple of days) once I’ve tested.

    Thanks again!

    Thread Starter johnny_n

    (@johnny_n)

    Hi @litetim – sorry for the delay, this code does appear to work just fine… I can save the settings with no issues and I’m seeing the esi output in the console. I’ll be sure not to overwrite on upgrade.

    Thank you!

    Plugin Support litetim

    (@litetim)

    @johnny_n niceee 🙂
    I will mark the topic as resolved.
    Thank you 🙂

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

The topic ‘ESI Setup – Widget settings not being saved’ is closed to new replies.