Title: WP-Cache files
Last modified: August 21, 2016

---

# WP-Cache files

 *  [Biranit](https://wordpress.org/support/users/biranit/)
 * (@biranit)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/wp-cache-files/)
 * Hi Donncha,
 * Hope you are well.
 * I have a (hopefully) quick question: at what conditions are WP-Cache (not Supercache)
   files created, and is there any way to avoid it?
 * The reason I ask is that I’m using Preload mode. I have 75,402 cached pages in
   WP-Super-Cache right now. But in WP-Cache I have a few hundreds, and although
   most of them are ‘expired’, then are never purged – unless I go to the WPSC settings
   page and press “delete expired” under the “Content” tab.
 * This causes us a few problems: we purge category/tag pages (for example) whenever
   a post associated with that category or tag page is updated. But if the page 
   is in WP-Cache, then the function that we run on save_post –
 * `prune_super_cache ( get_supercache_dir() . '/' . $cat->slug . '/', true );`
 * – has no effect, and it is not deleted.
 * Any suggestions?
 * Thank you,
 * Bira
 * [http://wordpress.org/extend/plugins/wp-super-cache/](http://wordpress.org/extend/plugins/wp-super-cache/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/wp-cache-files/#post-3693183)
 * You could run the debug log, and limit it to interactions made by your server
   IP so it’ll catch actions made by the garbage collector.
 *  Thread Starter [Biranit](https://wordpress.org/support/users/biranit/)
 * (@biranit)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/wp-cache-files/#post-3693224)
 * Hi Donncha,
 * I’m afraid there is no garbage collector – I use preload mode.
 * Any idea what to do, other than adding a manual crontab that deletes the expired
   files every hour or so?
 * Thanks,
 * Bira

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WP-Cache files’ is closed to new replies.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Biranit](https://wordpress.org/support/users/biranit/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/wp-cache-files/#post-3693224)
 * Status: not resolved