wow thank you for the reply!
another question 🙂
how about clearing the cache of the category / archive page and a custom page. For example in my site, I created a custom page that lists all posts with recent updates on custom fields and content (e.g. mydomain[.]tld/mycustom.php —> which I 301 to –> /updates/ (cached via the ?qcAC=1 parameter).
Those commands above are clearing the cache immediately?
Hi the following code clears all the cache right? how about if I just want to clear a cache of a specific page or URL, how will I do that in function.php ?
add_action( 'save_post', 'my_custom_clear_cache', 10, 1 );
function my_custom_clear_cache( ) {
$GLOBALS['quick_cache']->clear_cache();
}