Title: Select when cache gets cleared?
Last modified: August 21, 2016

---

# Select when cache gets cleared?

 *  [bytesmasher](https://wordpress.org/support/users/bytesmasher/)
 * (@bytesmasher)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/select-when-cache-gets-cleared/)
 * For some reason, my cache is getting cleared significantly too often, rendering
   varnish useless. I’m getting “was banned” missed fetches on almost every page
   load… when my cache TTL is set to 24h. I only want the cache to clear when I’ve
   published, edited, or unpublished/deleted a post. Is there any way to do this?
 * [http://wordpress.org/plugins/better-wp-varnish/](http://wordpress.org/plugins/better-wp-varnish/)

The topic ‘Select when cache gets cleared?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/better-wp-varnish_d0dadc.svg)
 * [Better WP Varnish](https://wordpress.org/plugins/better-wp-varnish/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-varnish/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-varnish/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-varnish/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-varnish/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-varnish/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [bytesmasher](https://wordpress.org/support/users/bytesmasher/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/select-when-cache-gets-cleared/)
 * Status: not resolved