WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Delete few pages every hour without deleting the rest of the cache (1 post)

  1. Djib's
    Member
    Posted 1 year ago #

    Hi,

    I want to delete 3 pages (no post) in the cache every hour but without deleting the rest of the cache.

    I do not know how.

    I can remove super cache with :

    function wp_cache_clear_cache() {
    global $cache_path;
    prune_super_cache( $cache_path . 'supercache/MySite/MyPage1', true );
    prune_super_cache( $cache_path . 'supercache/MySite/MyPage2', true );
    prune_super_cache( $cache_path . 'supercache/MySite/MyPage3', true );
    }

    but I do not know how to delete the meta file and wp-cache-123456789.html of these 3 pages.

    Thank you for your help.

    Djibs

    http://wordpress.org/extend/plugins/wp-super-cache/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic