• Resolved kokqa

    (@kokqa)


    WP Super Cache is awesome!

    One issue though, how can I clear cache of a particular post or page without deleting entire cache?

Viewing 1 replies (of 1 total)
  • You can call the command wpsc_delete_url_cache( $url ) with the URL you want to clear.

    Or if you have a post_id then call wp_cache_post_id_gc( $post_id, $all = 'all' )

    If you pass the second parameter ‘all’, it will delete paged comments or other archives in the URL. (such as /hello-world/page/1/ and /hello-world/page/2/ …)

Viewing 1 replies (of 1 total)
  • The topic ‘How to Clear Page Specific Cache?’ is closed to new replies.