WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
CDN Support in Separate Plugin (2 posts)

  1. markb1439
    Member
    Posted 3 years ago #

    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

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic