• Resolved codexservices

    (@codexservices)


    Hi all. I know that LiteSpeed purges automatically after I manually update one or more plugins.

    I was wondering if the same thing happens when a plugin automatically updates?

    I couldn’t find an answer on this so I tested it myself by doing the following:

    1. For a particular site, I enabled LiteSpeed logging
    2. Enabled automatic updates for all plugins on the site
    3. Waited for the plugins to automatically update
    4. Checked the “Purge Log” section of the LiteSpeed Cache logs

    There were no entries in the “Purge Log”. Does this mean that a purge did not happen after the plugins updated automatically?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support qtwrk

    (@qtwrk)

    			if ($this->conf(Base::O_PURGE_ON_UPGRADE)) {
    $purge_all_events[] = 'automatic_updates_complete';
    $purge_all_events[] = 'upgrader_process_complete';
    $purge_all_events[] = 'admin_action_do-plugin-upgrade';
    }

    the purge all is hooked with these 3 actions , so whenever they are triggered , it will lead to purge all

    if you are using command line like wp cli or php wp-cron.php it might be delayed , or how did you trigger the auto update ?

    Thread Starter codexservices

    (@codexservices)

    Thanks so much for your response. I didn’t trigger the automatic plugin update. I just waited until it was scheduled and then checked the Purge Log. I checked the Purge Log maybe 30 minutes after the plugins automatically updated, and it was empty.

    Plugin Support qtwrk

    (@qtwrk)

    if you still have something to update, or can re-arrange it , you can try a simple test

    open a page like https://your_domain.com/?test123 , refresh it couple times , make sure you see cache hit

    then wait for auto update , then check this /?test123 URI again for cache status , it should be purged by then.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Auto purge after automatic plugin update?’ is closed to new replies.