Right now with WP Super Cache, when an admin updates a post, the cache is cleared and new cached version is generated. How do I let users do the same with own posts? (When they update their posts the cache gets cleared).


1 Answer 1


Last time I used this plugin, you had to flush the entire cache to do this:


function custom_clear_wp_super_cache($post_id) {
    if (function_exists('wp_cache_clear_cache')) {wp_cache_clear_cache();}

There may (or may not) be a method of flushing the cache for a particular post now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.