Title: [Plugin: WP Super Cache] Multisite Behavior
Last modified: August 19, 2016

---

# [Plugin: WP Super Cache] Multisite Behavior

 *  [markb1439](https://wordpress.org/support/users/markb1439/)
 * (@markb1439)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-multisite-behavior/)
 * Hi,
 * We’re using WP Super Cache on a multisite system, and we’re wondering a couple
   of things:
 * 1) We need to give users a little control, but without exposing the settings 
   to them. For example, if a user makes a CSS change, we need to give them the 
   ability to refresh their cache. This could be done by activating the setting 
   to empty the cache when a new post is published. But, since the cache is network-
   wide, I believe, this will reset everyone’s cache. Is there a way to set it so
   that one user publishing or editing a post will only reset the cache for that
   particular blog?
 * 2) To keep the cache refreshed periodically, is there anything wrong with setting
   a cron job (maybe every hour) that clears the cache entirely?
 * Thanks,
 * Mark

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

 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-multisite-behavior/#post-1922141)
 * You could write a plugin that finds their cached files and deletes them but unfortunately
   Supercache doesn’t do that yet. It’s all or nothing I’m afraid.
 * No, you can clear the cache with a cron job. Nothing wrong with that but it will
   cause a load spike when all those pages are regenerated.
 *  Thread Starter [markb1439](https://wordpress.org/support/users/markb1439/)
 * (@markb1439)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-multisite-behavior/#post-1922150)
 * Unfortunately, writing a plugin would be beyond the scope of what I’m able to
   do in this case. 😉
 *  Thread Starter [markb1439](https://wordpress.org/support/users/markb1439/)
 * (@markb1439)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-multisite-behavior/#post-1922151)
 * Followup question:
 * If I activate the option to clear cache when a post or page is published, does
   this mean that the entire (network-wide) cache will be cleared when any user 
   publishes something?
 * If so, is this a problem?
 * Thanks,
 * Mark
 *  Thread Starter [markb1439](https://wordpress.org/support/users/markb1439/)
 * (@markb1439)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-multisite-behavior/#post-1922187)
 * > Supercache doesn’t do that yet. It’s all or nothing I’m afraid.
 * Have you considered expanding the multisite capability, given the growing popularity
   of multisite? The ideal solution would be for each blog to be cached separately,
   as I believe Quick Cache does. It would be great to hide major configuration 
   settings from sub-site owners, but at least give them the ability to enable or
   disable caching, and to clear their cache.
 * Right now in a multisite setting, if a sub-site user makes changes and needs 
   to clear the cache so those changes are made public, he or she is dead in the
   water, right?
 * Just a suggestion. Thanks for listening.
 * Mark
 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-multisite-behavior/#post-1922193)
 * Oh yes, I’d love if it deleted the cache files for one blog at a time! I’m sure
   it’ll be added in a future version. Hopefully someone reading this will decide
   to add that feature to the plugin! (hint hint to anyone finding this page in 
   the future!)
 *  Thread Starter [markb1439](https://wordpress.org/support/users/markb1439/)
 * (@markb1439)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-multisite-behavior/#post-1922198)
 * If I knew how, I would. 🙂
 *  Thread Starter [markb1439](https://wordpress.org/support/users/markb1439/)
 * (@markb1439)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-multisite-behavior/#post-1922202)
 * BTW, this is becoming a must-have feature for us. We need a way that individual
   sub-sites can clear their caches. Otherwise we know we’re going to have support
   ticket after support ticket asking why changes aren’t reflected on the site after
   changing themes, for example. I just don’t think we can offer network-wide caching
   without providing a way for users to clear their cache. And it’s not a viable
   solution to have the entire network’s cache cleared when a particular thing happens
   on a sub-site. 🙁
 * I noticed that the Quick Cache plugin seems to automatically clear a sub-site’s
   cache if the theme is changed on that site. I’m going to peruse the code for 
   inspiration, but I’m not a developer…so I don’t think I have the ability to add
   that functionality (or anything like it) to WP Super Cache.
 * Mark

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

The topic ‘[Plugin: WP Super Cache] Multisite Behavior’ 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [markb1439](https://wordpress.org/support/users/markb1439/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-multisite-behavior/#post-1922202)
 * Status: not resolved