szepeviktor/w3-total-cache-fixed

flush pagecache action?

futtta opened this issue · 4 comments

Just a question really; is there an action that fires when the pagecache gets flushed entirely which 3rd parties can hook into? I seem to have found do_actions for db-, object- & fragment-cache but have not found anything for the page cache?

Maybe here?

/**
* Purges/Flushes page contents - page cache, varnish and cdn cache
* When global changes affect whole content but not internal data structures
*/
function flush_posts( $extras = null ) {
$do_flush = apply_filters( 'w3tc_preflush_posts', true, $extras );
if ( $do_flush )
do_action( 'w3tc_flush_posts', $extras );
}

that might indeed be it @szepeviktor, I'll give it a try. thanks! :-)

OK.

Don't tell anyone I could point that out!