• Resolved Diiamo

    (@luislu)


    Hi,

    Every time I update other plugins or themes, the front-end displays confusion and I have to manually clear all cache,can you please add a function to automatically clear cache after updating plugin?

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @luislu

    Thank you for reaching out and I am happy to help!
    It’s always recommended to purge the cache once the plugin or theme is updated.
    What you are asking for while seems something that could benefit your use case, it could be counterproductive.
    For example, if someone goes to Installed plugins section, and has 20+ plugins to update, selects all plugins with the update available, and bulk updates all, the plugin may try to auto-purge the cache after each plugin/theme is updated
    This would cause a lot of resource consumption and possible timeout since the purge request is sent every 10 seconds or so
    In the top admin bar, you can hover over performance and click the Purge all Caches which will clear all cache and it’s there always, right after you finish updating any plugin or theme.

    I hope this helps!

    Thanks!

    Thread Starter Diiamo

    (@luislu)

    What you said makes sense. If set it to automatically clear the HTML cache, 10 seconds later after the last update, will this make sense?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @luislu

    Thank you for your feedback.
    You can try doing this and I would recommend at least 30s

    Thanks!

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

The topic ‘Automatically clear cache after updating plugin’ is closed to new replies.