WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Individual site usage on Multisite? What would it take to get this? (11 posts)

  1. Tevya
    Member
    Posted 2 years ago #

    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.

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    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.

    http://downloads.wordpress.org/plugin/wp-super-cache.zip

  3. Tevya
    Member
    Posted 2 years ago #

    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: http://www.woothemes.com/woocommerce-docs/codex/integration/configuring-caching-plugins/

    Thanks so much for your quick response!

  4. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  5. Tevya
    Member
    Posted 2 years ago #

    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?

  6. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  7. Tevya
    Member
    Posted 2 years ago #

    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: http://coolkidschairs.com/ 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.

  8. Tevya
    Member
    Posted 2 years 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.

  9. Tevya
    Member
    Posted 2 years ago #

    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.

  10. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    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?

  11. Tevya
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic