WordPress.org

Ideas

standard wordpress action hook to clear cache for cache plugins

  1. Sabrina
    Member

    Hello Jose and thanks for this tips. So if I understand, when i call this function, the wordpress cache is cleared right ?

    So, i don't need others plugins like WP Rocket ?

    Posted: 1 year ago #
  2. Jose
    Inactive

    Hi Sabrina. No, this function would just trigger the "clearing function" of the cache plugin that is installed. It was nice to have a standard WordPress core function that could be used by plugins and themes authors to programmatically clear the cache when needed, no matter what cache plugin was active. The final user would even don't notice this function.

    Posted: 1 year ago #
  3. No, this function would just trigger the "clearing function" of the cache plugin that is installed.

    I must stress this, it would trigger if and only if the plugin hooked into the function. All plugins would need to be edited to do so.

    Which is why I think it's a nice idea that wouldn't work as well as it should :(

    Posted: 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    0 Votes
  • Status

    This idea is under consideration