Hi @qtwrk,
I have been in discussion with Better Messages, and here is a couple of their pertinent responses;
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.
After I told them it may not be specifically transition_post_status (I quoted your reply to me about this);
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.
As it stands that only leaves me with two choices (other than living with the problem) – either find a replacement for BM or a replacement for LS Cache, as neither of you seem willing to look into this further. I have had problems with every cache plugin I have tried, with yours being the best so far, and given that my host uses the LS server it doesn’t make sense for me to switch, but unfortunately I am yet to find a messaging/chat plugin that has the features matching BM.
Is there any way that this can be dealt with by providing some code that prevents the cache purge on post status change? It is not really, I don’t think, something that my site needs, although maybe you can explain why it is needed? The cache gets purged with every plugin update and they are almost daily, which is more than enough for my uses.