• Hi,

    I am not certain about this yet, but there appears to be some sort of conflict with LSCache and BM. Basically when a user is logged in, several pages show cache: miss, and notably the front page, which obviously makes the site slow to load. After several days of investigation, when I deactivate BM this behaviour stops. LSCache have told me that a plugin is causing the cache to be purged because it fires transition_post_status but I have questioned this with them, as it doesn’t make sense why their plugin would do this with such a widely used hook/function, and also if it does why there is no facility to turn that behaviour off. I am awaiting their response, but I am guessing that there must be some good reason, so thought I should let you know, and also enquire if (a) your plugin uses that hook/function, and (b) if it does is there any chance of changing to another one? Also is it possible for me to delay BM loading until after the rest of the page has? That may solve the issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author wordplus

    (@wordplus)

    Hi there!

    Not sure what can trigger that hook from Better Messages side.
    Going to research!

    Thanks!

    Plugin Author wordplus

    (@wordplus)

    Hi there!

    Sorry, but I cant find where Better Messages can be calling that hook. Not sure why that is the issue only when Better Messages is active, maybe there is something else which calling the hook when Better Messages making REST requests.

    Thread Starter AWOL

    (@awol)

    Hi @wordplus,

    I have now had another response from LSCache, as follows:

    it doesn’t necessarily have to be transition_post_status with exact match , there are number of ways will change/trigger the post status change

    but once post status is changed by whatever method available , it will also triggers trasition_post_status which is we used to detect the post change

    Does this alter anything from your side? I am still waiting to hear from them about why this causes the cache to be purged, and if that behaviour can be altered, because that is ultimately the issue, but I am attacking the problem from both angles in the hope that it can be fixed, as it is an important issue for me; I would think that you also would like a definitive answer about this, so I will post any further updates.

    Also you didn’t say anything about my final query –

    Also is it possible for me to delay BM loading until after the rest of the page has? That may solve the issue.

    Plugin Author wordplus

    (@wordplus)

    I do not know where Better Messages can do that on every page load, you better test clean wordpress install with Better Messages and Litespeed only, as I think the issue is not in better messages.

    It’s not possible to change the load of better messages.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Possible issue with LiteSpeed Cache’ is closed to new replies.