WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache CDN Support (6 posts)

  1. markb1439
    Member
    Posted 5 years ago #

    I'm wondering if there is any way that WP Super Cache (or similar plug-ins) can also work with a CDN? The concept would add two layers to the plug-in:

    1) After creating a static element, the plug-in would upload it to the CDN via FTP. (Using FTP makes it universal so it will work with any CDN.)

    2) The plug-in would handle URL rewrites accordingly to direct users to the content on the CDN.

    Is this feasible?

  2. Donncha O Caoimh
    Member
    Posted 5 years ago #

    Sure, that'd be relatively easy to do. Feel free to write a patch!

  3. markb1439
    Member
    Posted 5 years ago #

    Well, that's the problem...I'm not a programmer. Do you know of any existing patches that might be easily modified to do this in conjunction with your plug-in? Otherwise I'll try to hire someone to write such a patch.

    I think this would be very helpful to the WP community...your plug-in plus CDN.

  4. markb1439
    Member
    Posted 4 years ago #

    I'm wondering if this concept could be easily achieved with a combination of CDN origin pull and URL redirects...

    The cache folder would be mirrored to the CDN, and URL redirects would direct all requests for the static content to the CDN. Does that sound practical?

    If so, how/where would you recommend setting the redirects?

  5. wmark
    Member
    Posted 4 years ago #

    I've just written such an plugin. Please see my blog post with a plugin for rewriting URLs for WordPress and CDN.

    You're welcome.

  6. ag211
    Member
    Posted 4 years ago #

    If you're looking for good CDN support, check W3 totale cache plugin...
    It does wonders - http://wordpress.org/extend/plugins/w3-total-cache/

Topic Closed

This topic has been closed to new replies.

About this Topic