WordPress.org

Forums

WP Super Cache - Deletes all cache contents (3 posts)

  1. Caspie
    Member
    Posted 7 years ago #

    When I try to remove some cached page from the Cache Content List it clears all the cached items? Anyone with similar problem?

  2. stanch
    Member
    Posted 7 years ago #

    Caspie wrote:
    Anyone with similar problem?

    sure, why not :) so? worry? its not be a problem :)

  3. sojweb
    Member
    Posted 7 years ago #

    I was just having this problem: it appears to be a bug. In wp-cache.php, in wp_cache_clean_cache(), there's a function call:

    prune_super_cache( $cache_path, true );

    which deletes everything in the cache directory. If you comment out this line, it will only delete the one file you clicked on. I'm not sure why that line is there and would welcome a comment from Donncha :-).

Topic Closed

This topic has been closed to new replies.

About this Topic