WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP Super Cache] CDN Support in Separate Plugin

[Plugin: WP Super Cache] CDN Support in Separate Plugin

  • Hi,

    We love the CDN support!

    However, on a certain multisite installation, we need to activate CDN support only for premium clients as an upgrade. We normally do this by provisioning CDN service for them and activating a CDN plugin (OSSDL CDN Off-Linker, the great plugin you integrated). The CDN settings are saved for each individual sub-site that has subscribed to the CDN option.

    So, for this scenario, is there a way to disable the CDN support in WP Super Cache?

    I assume it’s as simple as removing or commenting out:

    // OSSDL CDN plugin (http://wordpress.org/extend/plugins/ossdl-cdn-off-linker/)
    include_once( WPCACHEHOME . 'ossdl-cdn.php' );

    But I want to make sure I’m not missing anything.

    EDIT: Tried deleting that line, but there’s apparently more to it than that. If I delete the CDN portion in the tabs array, and also the call for the cdn case, is that all I need to do? I don’t want to damage any of the plugin’s other functionality.

    Or does it not hurt anything to leave it on? I guess if the default CDN settings are left as-is in WP Super Cache, it won’t be rewriting anyway. But I wonder if there are any performance issues by having the CDN code running anyway, or any potential conflicts that can come from having the same CDN plugin essentially running twice (in WP Super Cache and also separately).

    Thanks,

    Mark

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

    @donncha

    You can probably leave it as-is. The Supercache admin pages can’t be reached by ordinary users anyway and the plugin uses the same preferences as the original OSSDL plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP Super Cache] CDN Support in Separate Plugin’ is closed to new replies.