On my site, I have some administration options that allows to manually set up the display of the posts on the homepage and the main category pages. When the editor finishes selecting the posts and formatting them, he clicks 'publish' and that generates the homepage or the specific category page he was editing.
I wanted to add to this process an action to delete the cached version of that page. I tried simply adding do_action( 'gc_cache', 'prune', 'homepage' ) - but it did nothing. I also tried other methods that I came across in the WP Super Cache class, but they don't work. I'm obviously missing something.
Can you point me in the right direction please?