Title: Exclude caching for plugin
Last modified: August 30, 2016

---

# Exclude caching for plugin

 *  Resolved [optimalpartners](https://wordpress.org/support/users/optimalpartners/)
 * (@optimalpartners)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/exclude-caching-for-plugin/)
 * I have a plugin that randomly displays a quote when you click a button, and because
   of the caching with zen cache, I had to disable caching on the page where that
   plugin shows, however I am still having difficulty because I tried to display
   this same plugin in my sidebar, however because of the caching, it will not display
   more than one or two quotes, the button stops working. I tried using the code
   in the documentation to clear the cache when a particular action happened, however
   now nothing shows in the quotes box in the sidebar. Please let me know if there
   is anything I can change so that this section can be excluded from caching. Thank
   you.
 * [https://wordpress.org/plugins/zencache/](https://wordpress.org/plugins/zencache/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [optimalpartners](https://wordpress.org/support/users/optimalpartners/)
 * (@optimalpartners)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/exclude-caching-for-plugin/#post-6866270)
 * changed the cache refresh time and it seems to be working.

Viewing 1 replies (of 1 total)

The topic ‘Exclude caching for plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/zencache_3c4c6b.svg)
 * [ZenCache](https://wordpress.org/plugins/zencache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zencache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zencache/)
 * [Active Topics](https://wordpress.org/support/plugin/zencache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zencache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zencache/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [optimalpartners](https://wordpress.org/support/users/optimalpartners/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/exclude-caching-for-plugin/#post-6866270)
 * Status: resolved