• Resolved dleigh

    (@dleigh)


    Hi,

    LiteSpeed report: LIVYHQGT

    On our site, when a plugin or the theme is updated automatically (via Easy Update Manager) the layout of the site breaks. If I log into the admin of the site, that simple act fixes it (i.e. I then log back out and go to the home page and the layout is fixed). This has happened with the theme or with many different plugins. I’ve set up a staging site cloned from our production site. I’ve disabled all plugins except for LiteSpeed, Easy Update Manager and I picked a random plugin, MailPoet, for testing. I upload an older version of MailPoet and then wait for Easy Update Manager to do its thing and update MailPoet. It does so and the site breaks.

    Looking at your “Read this before posting” post, I disabled LiteSpeed and the update does NOT break the layout. Then I reenabled LiteSpeed and just turned off the Cache and the update DOES break the layout. The conclusion in your “Read this before posting” is that it’s an optimization issue.

    Does the LiteSpeed report I sent indicate what I might need to change in the optimization?

    Thanks!

    The page I need help with: [log in to see the link]

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

    (@litetim)

    @dleigh Thank you for report number.
    Let’s test a change. Please disable Object Cache(https://docs.litespeedtech.com/lscache/lscwp/cache/#object-cache) and test updating the plugins.

    Thank you

    Thread Starter dleigh

    (@dleigh)

    Thanks for your patience! It’s been an up and down few weeks.

    I just tested with “enable cache” ON and “object cache” OFF and the problem still exists.

    I’m still using the same method to test as outlined in the OP.

    Plugin Support litetim

    (@litetim)

    @dleigh I tested the site now and I see the site broken.
    Also tested the site with this parameter https://staging.gsgsrescue.org/?LSCWP_CTRL=before_optm which disable all LSC optimization changes(minification, combine…) AND the staging site is not cached. This basically disables LSC.

    Maybe something else is not refreshing the cache.

    Thread Starter dleigh

    (@dleigh)

    Thank you for testing that. Could you perhaps give an example of what else might be affecting a cache in this circumstance? Would this be a cache that LiteSpeed doesn’t manage?

    For my understanding of caching, it seems that there are several “layers” of caching that are involved with a WordPress site. I may not be correctly understanding that.

    I do note, again, as I did in my OP, that when I disable LSC, this plugin update process proceeds without breaking the site. If the problem isn’t with LSC, it’s at least something that interacts with LSC when it’s enabled.

    Thread Starter dleigh

    (@dleigh)

    Another thing that might help. When access the site:

    • after an update AND
    • after cache has been refreshed via the admin interface AND
    • on another browser or in incognito mode

    I will see a Flash of Unstyled Content (which looks like the broken version of the header) on several of the pages THE FIRST TIME I access them. After that, I don’t see the FOUC – even if I re-open the page in a brand new browser or a brand new incognito session.

    So, it’s as if, once the cache has been “fixed”, there’s still a “broken” version that is flashed and then replaced.

    Thread Starter dleigh

    (@dleigh)

    Right now the site is “un-broken” again. I’m going to upload the old MailPoet version now so as to re-invoke the sequence that breaks the layout the next time that automatic updates happen. So if you’d like me to change a setting on LSC, please let me know.

    Plugin Support litetim

    (@litetim)

    @dleigh OK
    Try this: disable LSCWP plugin. And let the update run.
    Do you get the same result?

    • This reply was modified 1 month, 2 weeks ago by litetim.
Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.