Title: [Plugin: WP Super Cache] Function to delete specific page from cache
Last modified: August 19, 2016

---

# [Plugin: WP Super Cache] Function to delete specific page from cache

 *  [microkid](https://wordpress.org/support/users/microkid/)
 * (@microkid)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-function-to-delete-specific-page-from-cache/)
 * Hi,
 * I am integrating WP Super Cache with a plugin I’m building. My plugin updates
   a specific page, and I want to delete the cached file for this page automatically,
   preferably by post_id.
 * I’ve been trying to locate a function that does this, but haven’t been able to
   find it. Does anyone know if such a function or method exists?
 * TIA

Viewing 1 replies (of 1 total)

 *  [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-function-to-delete-specific-page-from-cache/#post-1716783)
 * From the developer docs at [http://ocaoimh.ie/wp-super-cache-developers/](http://ocaoimh.ie/wp-super-cache-developers/)
 * Delete the cache files for a single post by using the wp_cache_post_change( $
   post_id ) function. It will attempt to delete every half-on cache file for that
   post, as well as any supercache files.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WP Super Cache] Function to delete specific page from cache’
is closed to new replies.

## Tags

 * [delete](https://wordpress.org/support/topic-tag/delete/)
 * [particular](https://wordpress.org/support/topic-tag/particular/)
 * [specific](https://wordpress.org/support/topic-tag/specific/)

 * 1 reply
 * 2 participants
 * Last reply from: [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-function-to-delete-specific-page-from-cache/#post-1716783)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
