Support » Plugin: WP Super Cache » [Plugin: WP Super Cache] Individual site usage on Multisite? What would it take to get this?

  • Hi, I’m wondering what it would take to add some better multisite functionality to WP Super Cache? I’ve been using this awesome plugin for a long time, but recently switched to multisite for managing all my clients much easier and quicker.

    I love WP Super Cache’s simplicity. It does enough, without being a monster pain with far too many options and features. However, I was really disappointed to find out one simple thing: it really only has minimum Multisite support. It’s either on or off network-wide. No option to enable/disable on individual sites.

    I’d love to have it run on all sites, and like that setting the settings once, does it for the entire network. However, that’s also problematic because each time you delete the cache, it does it for all sites (if I understand correctly), which seems silly. You don’t want to have to rebuild everything, when you were just working on one site.

    Additionally it doesn’t play well with WooCommerce functionality. But I can’t just disable it on the eStore sites on my network that are running WooCommerce. It’s all or nothing… so for a month or so, I’ve had no caching plugin installed. However I don’t think that’s the way to go, so I’m wondering what it would take to get the developer(s) of Super Cache to make better, more featured multisite integration? All I really want is the ability to enable or disable it on individual sites. Deleting only the cache of the current site would also be nice. I’m willing to make donations, etc, to make it happen. I wouldn’t be surprised if a lot of other people were willing to as well.

    If you know how to contact the developer (or are the developer) let us know what it would take to make this happen. I’d really, really appreciate a solution.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Donncha O Caoimh


    Install the development version and then activate the multisite plugin in the WP Super Cache ->Plugins tab. Go to Network->Sites where you can disable caching for particular blogs.

    You can define the constant DONOTCACHEPAGE on any page that you don’t want to be cached. Contact the WooCommerce devs about that as it will work with W3 Total Cache too.

    Wow thanks! So this is already under development.

    When I go to WP Super Cache>Plugins tab there’s no Multisite plugin. The closest thing is “Domain Mapping.” The version on the plugin is 1.0, which is the same as the one active in the repository. Is there another link I can download the development version from?

    WooCommerce dev’s are aware of it, and their documentation previously said that WP Super Cache as ignoring the do not cache instructions they’d included in the install of WooCommerce. However it looks like they’ve updated it and it does work now:

    Thanks so much for your quick response!

    Plugin Author Donncha O Caoimh


    Glad it’s working in WooCommerce now. I was mistaken, the multisite plugin activates automatically if “WP_ALLOW_MULTISITE” is defined. That should be defined if you’re using a multisite install, but did you upgrade from an old MU site?

    Check wp-super-cache/plugins/multisite.php as that works fine on my MS site.

    No, it’s not an upgrade from a MU site. I think it was installed with Multisite on 3.2, maybe 3.1, but fairly recent.

    I see the multisite.php file in the location you said. Is there some way to manually activate it? Or I guess maybe it’s working and I don’t know what I’m looking for? But I don’t see a way to disable site-by-site. Where would this be?

    Also, where would I define the DONOTCACHEPAGE if I wanted to just do those WooCommerce pages as defined in the previous Woo documentation link?

    Plugin Author Donncha O Caoimh


    Comment out the line “if ( defined( ‘WP_ALLOW_MULTISITE’ ) )” in multisite.php and it will always be activated.

    It looks like WooCommerce sets that constant so you don’t have to worry about it. I haven’t used it so I can’t give any specific advice.

    Okay, I commented that out, but still don’t see anything different. I do see there’s a button to clear the cache just for the current site, or for all blogs. Maybe I’m not looking in the right place… where exactly is “Network->Sites where you can disable caching for particular blogs”???

    EDIT: I guess I’m also just wondering how to set the DONOTCACHE for any page anywhere in WP… is that something that’s done in the theme? I need to do that, or get the option to disable for an entire blog, because as you can see here: the whole sidebar is being taken out by Super Cache, making it look strange and not have the functionality the sidebar provides. This is why I quit using it several months ago.

    I had to turn caching back off, so looking at the home page I linked to above won’t tell you anything. Basically the whole sidebar was gone, because it has WooCommerce widgets in it.

    I haven’t heard back from you. When the multisite plugin is working, how do you turn off Super Cache on specific sites? I’m wondering if I’m just not looking in the right place.

    Plugin Author Donncha O Caoimh


    I see the list of sites with a “Cached” column on /wp-admin/network/sites.php in my MS network. Is that where you are looking? Is WP Super Cache enabled sitewide?

    Ah, thank you so much! That was the part I was missing. I was looking for something in the Super Cache settings. Now I can just have those ones not cached, until I can figure out with WooThemes how to prevent specific pages from being cached.

    Thanks so much for your patience in working with me. I really couldn’t find it.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: WP Super Cache] Individual site usage on Multisite? What would it take to get this?’ is closed to new replies.