Title: wp_cache_post_change($post_id); REFRESH CACHE
Last modified: August 20, 2016

---

# wp_cache_post_change($post_id); REFRESH CACHE

 *  [D J](https://wordpress.org/support/users/wwwpornolatinonet/)
 * (@wwwpornolatinonet)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/wp_cache_post_changepost_id-refresh-cache/)
 * Hi, I am using a plugin called wp_ratings, I am using the following to delete
   the cache for that page when a rating is made.
 * if (function_exists (‘wp_cache_post_change’)) {
    $GLOBALS[“super_cache_enabled”]
   =1; wp_cache_post_change($post_id); }
 * Is this the same as refreshing the cache for that page instead of deleting it?
   I want that pages cache to be refreshed not deleted.

The topic ‘wp_cache_post_change($post_id); REFRESH CACHE’ is closed to new replies.

## Tags

 * [supercache](https://wordpress.org/support/topic-tag/supercache/)

 * 0 replies
 * 1 participant
 * Last reply from: [D J](https://wordpress.org/support/users/wwwpornolatinonet/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/wp_cache_post_changepost_id-refresh-cache/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
