• Hi,

    Can you please consider adding a setting to automatically clear the cache after a theme, plugin or WordPress has been updated?

    I found that these updates often cause issues which require the cache to be cleared and rebuild. So I do that manually after an update, but it would be much easier if that’s done automatically.

    Maybe possible based on the upgrader_process_complete hook?

    Thanks
    JP

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

Viewing 15 replies - 1 through 15 (of 39 total)
  • Plugin Author Emre Vona

    (@emrevona)

    Actually I am not agree with you because if a user does not clear cache after update, he cannot stop it.

    Hi Emre, I am sorry but I don’t understand what you mean to say.

    If someone does not clear cache he cannot stop it?

    That does not make sense. Do you mean if someone does not want to clear cache after an update?

    That’s why I suggested adding a setting so a user can enable it of they want.

    The problem here is that an update changes so many things that it even breaks the cache and damages the site. It can only be fixed by rebuilding the cache. At least in my experience.

    JP

    Plugin Author Emre Vona

    (@emrevona)

    That does not make sense. Do you mean if someone does not want to clear cache after an update?

    Exactly ?? sorry I made an orthographic mistake.

    That’s why I suggested adding a setting so a user can enable it of they want.

    I don’t want the users to be confused about the many settings.

    The problem here is that an update changes so many things that it even breaks the cache and damages the site. It can only be fixed by rebuilding the cache. At least in my experience.

    you are right but clearing the cache manually can be enough I guess.

    I don’t want the users to be confused about the many settings.

    You don’t confuse users with a useful setting that has a proper description.

    You are right but clearing the cache manually can be enough I guess.

    Not really. It’s an extra step that can easily be forgotten. That shouldn’t be needed when it can be automated.

    It also assumes that everybody does a manual update from within the WP dashboard where you can also have the delete cache option.

    In reality, many WordPress sites are updated automatically by WordPress, Installatron or WP management tools at any given time without user intervention.

    Plugin Author Emre Vona

    (@emrevona)

    I will think about it.

    Thank you!

    Hi, did you think about it?

    Plugin Author Emre Vona

    (@emrevona)

    I think to add a feature on the cache timeout.
    “clear all cache” -> “when a plugin/theme is updated”. is it ok?

    Yes that would work.

    Or maybe a checkbox in the ‘Delete Cache’ section (above the timeout rules) because it’s not a time based rule.

    Thank you for considering!

    JP

    Plugin Author Emre Vona

    (@emrevona)

    I will let you know.

    Hi, any news on this?

    Thanks
    JP

    Plugin Author Emre Vona

    (@emrevona)

    I did not start to work on it but I will.

    Plugin Author Emre Vona

    (@emrevona)

    I have an idea about it. I do not want to add the on the settings page.
    I add this feature but with different way. The users need to add the following line into wp-config.php and it works. is it ok for you?

    define(‘WPFC_CLEAR_CACHE_AFTER_THEME_UPDATE’, true);
    define(‘WPFC_CLEAR_CACHE_AFTER_PLUGIN_UPDATE’, true);

    Yes that will do the trick. Although I don’t quite understand why you want to do it like this and not a simple tickbox on the settings page.

    It would also be fine to combine this in a single setting.

    define(‘WPFC_CLEAR_CACHE_AFTER_UPDATE’, true);

    Thanks
    JP

    Plugin Author Emre Vona

    (@emrevona)

    tickbox as “new post”, “update post” on the settings page of wp fastest cache?

Viewing 15 replies - 1 through 15 (of 39 total)
  • The topic ‘Auto clear cache after updates’ is closed to new replies.