Free CDN

Note
Looking for a similar plugin but for commercial CDNs like Akamai, Limelight, EdgeCast, Amazon and so on? CDN Rewrites to the rescue!

For busy websites, using a CDN (Content Delivery Network) to transfer static content such as images, javascripts, stylesheets, Flash etc. is highly recommended (as listed in Yahoo!’s Best Practices for Speeding Up Your Web Site) as it reduces server load and bandwidth thus improves stability and availability.

There is a catch – Commerical CDN’s like Akamai and Limelight are not cheap at all. Good news, we have an exception however – the free, P2P-based CoralCDN allows us to take full advantage of a powereful CDN without spending a dime. How to use it? Well, basically, just append `.nyud.net` to the hostname of any URL, and that URL will be handled by Coral – simple.

This plugin takes that simplicity one step further (or closer?) by rewriting your static files’ URL’s (JavaScripts, CSS, images etc.) so that they are served from Coral servers instead of your own. You don’t have to touch anything! Just enable it, and boom! your static contents are handled with care by Coral’s powerful server clusters.

If you are paying bandwidth fee, this plugin hopefully helps with your bills. Even if you don’t, enabling it may save your site in peak times.

Features

  • Just enable the plugin and call it done – no extra steps required!
  • You can exclusively select the content types to be served through CoralCDN – currently supporting JS, CSS, images, inline background images, and <object>’s
  • Additional URL’s can be added as includes or excludes
  • Debug mode gives you a good preview to make sure nothing goes wrong
  • Works normally with other plugins. Especially useful if run along with WP Super Cache
  • AJAX’ed admin section makes it quick and easy to adjust the settings

Installation

  1. Download the plugin
  2. Extract into a folder
  3. Upload the entire to `wp-content/plugins/` directory of your WordPress installation
  4. Enable it via Plugins panel
  5. It should now work out of the box. If you want to tweak it a bit, head to Settings->Free CDN

FAQ and History

Head to the plugin’s Codex page.

Demo and Download

I’ve brought the demo site down after switching to WPWebHost :D Sorry for that.

Download


We provide best quality braindumps for NS0-163 and SK0-002 exam with 100% success guarantee.

  • Hi !
    Great plugin. I am testing it for my blog right now (click on my name).
    After activating the plugin, my blog  returns just a blank white page, nothing more. What might be the issue ?
     
    Running latest WP and PHP 5+

  • Hi, and sorry that my plugin didn’t work for you. It’s like 99% that there are some conflicts between Free CDN and your existing plugins. If you have some free time, could you try disable them one by one to see which doesn’t like my plugin? ;)
    Thanks in adv!

  • set it up on my blog to test for future use. WP 2.8.4 and it worked out of box with no issues. nice plugin. thanks

  • Hey dev
    i activated the plugin ,but i don’t see any changes but in the source i can see the debug mode it says TOTAL: 11 URL’s to be rewritten

    so do i need to wait for long time ? i am waiting for past 2 day's
    
    note:i don't have any plugin activated except free cdn 
    

     

  • Roger, you don’t need to wait. The URLs should be rewritten exactly as what specified in debug mode. Could you uncheck debug mode and try again? Also it would help if you can tell me your website address.

  • Http://crunch.Mooo.Com if you need login let me know it’s demo blog

  • Roger, from what I see you still have debug mode active. Please deactivate it?

  • Ok i de-actived th

  • I see it works now?

  • Still images load fr

  • Thank you for the plugin

  • Hi! First of all, thank you for the plugin. :)
    Now one tip: if someone is having problem with the plugin and the theme try to put the following URL in the exclude list:
    http://your.domain/class
    I discovered that, because when I’ve enabled the plugin with all options turned off, and even this way it was breaking my layout. So I’ve enabled debug mode and saw this:
    So I put the fake URL http://jeguiando.com/class and my CSS come back to work again.

    class
    will be written into
    http://jeguiando.com.nyud.net/class
    

    So I put the fake URL http://jeguiando.com/class and my CSS come back to work again. :)
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     

  • the plugin does not work on my blog. It broke my layout, no images were displayed and CSS styles were not applied. In debug mode it shows 31 URLs to be rewritten. Any suggestions? My URL is http://www.zparacha.com

  • Hi Zaheer,
    I would assume it’s a CSS problem. Suggestion: exclude your css and/or javascript file one by one basing on the debug data, to see which is the cause.

  • I’m having the same problem as Zaheer, but when I click debug mode everything works again. What does debug mode do, and how do I see the debug data?
    Thanks,
    Stephen

  • @Stephen: The debug more doesn’t do anything but listing down the to-be-rewritten links. You can check it by viewing the HTML source code of you page.

  • OK, thanks for such a quick response! So, with debug checked, the Free CDN is still running? Is it funny that with debug unchecked my sites’s CSS is broken, but when its checked that everything looks fine?

  • No, quick debug checked the Free CDN is not active, that’s why everything looks fine. Please follow what I suggested Zaheer.

  • This plugin is great and working fine in my blog .  But I am facing little problem. In my blog in some places I use ajax to get data.  Like in single.php file after the post details I have an option to get previous five post. I am showing this using ajax after clicking a link like “show me previous five post”. Problem is this plugin is changing param in my js function attached with anchor tag.
     
    After enabling debug mode I got this

    prevfive','http://blog.manchumahara.com/wp-content/themes/phpbbpress2009/ajax/ajax.php','2009-11-16 05:01:52','541ac43e40
    will be written into
    http://blog.manchumahara.com.nyud.net/2009/11/16/prevfive','http:/blog.manchumahara.com/wp-content/themes/phpbbpress2009/ajax/ajax.php','2009-11-16 05:01:52','541ac43e40
    here
    'prevfive','http://blog.manchumahara.com/wp-content/themes/phpbbpress2009/ajax/ajax.php','2009-11-16 05:01:52','541ac43e40' these are parameter of a js function attached in anchor tag.
    What the plugin is suggested here is wrong.
    any solution dear. again thank you very much for this great plugin.
    Currenlty my blog has this plugin debug mode. I think problem is it's changing code for onClick function for any tag which is very important to send ajax req normally.
    
    sabuj aka manchumahara
    
  • plugin not compatible

    cSprites
    good works buddy, I have installed in both of my blogs

  • Greetings, and Happy Holidays,
    I installed your plugin, activated it and got some problem. Even tho I know pretty much nothing in coding, I think I figured what was the problem.
    I’m going to run a site on port 8080 like this:
    http://www.example.com:8080/site/
    When I tried to access the site, got a blank page but I managed to get a few things out of it. I think your plugin doesn’t parse the “:” in the original URL right.
    Here’s an sigle line of what I get:
    <pre><http://www.example.com8080.nyud.net/link rel=”stylesheet” href=”http://www.example.com.nyud.net:8080/site/wp-content/themes/my_theme/style.css” type=”text/css” media=”screen”></pre>
    And here’s what I thing I should have had considering the CoralCDN site:
    <pre><http://www.example.com.8080.nyud.net/link rel=”stylesheet” href=”http://www.example.com.8080.nyud.net:8080/site/wp-content/themes/my_theme/style.css” type=”text/css” media=”screen”></pre>
    Just pointing out this issue so you might take a look at it and possibly try to fix this (if anything need to be fixed) in a future update.
    Happy Holidays to you and your family…
    KB

  • Thanks for the info KarmaBogus, I will check it right away.

  • Hi again Karma,

    I’ve checked the code, it seems there’s nothing wrong with it. The URL’s are being parsed correctly, ie. http://www.google.com:8080/style.css will be parsed into http://www.google.com.nyud.net:8080/style.css, and NOT http://www.google.com.8080.nyud.net:8080 as you suggested. Anyway, even if the URL’s were not parsed correctly, there shouldn’t be a blank page. It sounds like a plugin incompatibility to me.

    Thanks for the wishes. Same go to you!

  • Thanks a lot for such a fast reply! LIke I said, I’m far from a coder but that seems contradictory from what I read here on the official CoralCDN wiki site:
    http://wiki.coralcdn.org/wiki.php?n=Main.FAQ#otherports
    This shows why I think there is something wrong. But then again, I might be wrong cause of my poor coding knowledge and relatively poor english too.
    In any ways, there’s no rush. Take your time to have a nice Christmas Eve, and take a look at this when you have time.
    I still think this is a great plugin anyway and might use it at some other sites.
    Regards,
    KB

  • In this case, you are way right :D Sorry for my last reply. Will fix it in the next version.

  • LOL! No need to be sorry. I’m glad I helped you to probably improve your really useful and great plugin. ;)
     
    KB

  • I added links to this plugin to CoralCDN’s site.

  • Thanks Mike!

  • Great plugin. I’m just curious from a SEO standpoint – how does Coral handle:
    rel=”nofollow” ?
    I wouldn’t want page bleed happening throughout my websites.

  • Great plugin. I really like the concept of using coralcdn. On my site , it’s knocking out some spaces by inserting _ in between code and onto the page with several carriage returns. It’ll also knock out my proplayer videos (not on the main page.) Turning off all the checkboxes still doesn’t work, disabling sets the site back to normal, and debug doesn’t append anything.
    Sounds like a plugin incompatibility but I’m completely sure where it’s stemming from.
    I kinda wanted to see if it was possible to stream youtube videos through coralcdn using proplayer/jw player, but it appears that it ignores the URLs in the Proplayer javascript.

  • Hi – Thanks for providing this plugin, but I’m not sure if I’ve configured it correctly with W3 Total Cache.  I’ve enabled the CDN option in W3 … but should I use “Original Pull” or “Original Push”?  Is there an FTP for the CDN, because W3 asks for the following: “Enter the hostname of your FTP server configured above, this value will replace your blog’s hostname in the HTML.”  Thanks for your help!

  • Hi Dave, Free CDN works independently, which means there’s nothing to do with W3 Total Cache (or any other plugins).

  • When I activated it on my site and refreshed my home page, it was fine for a second, then it redirected and came to a 404 error. In the address bar of the browser was a URL with the code of my adserver (AdSpeed.com) in it.
    Looks like it isn’t working too well with external adserving code.

  • Hi phoenix.heart, I would like to know whether this plugin can be used on a multisite configuration and activated sitewide in WP 3.0?

  • Hi Reezo, to be honest I’ve not tried it. Why don’t you try and let everyone know? ;)

  • Thanks for your reply phoenix! Well, I’ve just tried it on WP 3.0 beta-2 with multi site enable, but only on the main site. So far, everything seems working fine.. I’ll try it on on sub blog later on and let you not that.. ;-)

  • When I first installed the plugin I got a blank page when I loaded my blog.

    I had to deactivate the following plugins to get Free CDN pligin to work: All in One SEO Pack, Digg Digg and GD Simple Widgets .

    Since speed has been a real concern for me, I am going to look for alternatives to these. Since I would really like to keep using the plugin.

  • it’s pretty coooooooooool
    tested on my blog and working perfectly

  • doesnt work for me on suffusion theme. with everything checked the site breaks and only text shows for most part if i uncheck all except images everything loads but the images. So i dunno i give up… seems like every single optimization plugin i freaking try to use breaks my damn site

  • When I activate the plugin and try to load my blog, I get the following error message:

    “Content Encoding Error

    The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.”

    It does this even in debug mode. The site loads normally again when I deactivate the plugin.

    What is going wrong and what can I do about it?

    Thanks,
    Michael

  • Michel, personally I’ve not encountered this problem, nor could I reproduce it.
    A quick Google search returns this link: http://getsatisfaction.com/chicago_tribune/topics/content_encoding_error_with_firefox . Could you check and see if it fixes your problem?

  • Thanks for the quick response!

    No, this is not the solution: cleaning out the FF cache does not make any difference, and IE8 can’t load the blog either. The IE error message is typically less informative, it only says “Internet Explorer cannot display the webpage”.

    I have done a bit more experimenting, and it seems that there is an incompatibility between Free CDN and WP HTTP Compression; I can use either by themselves, but not together. Would this help you to trace the problem?

    Thanks again,
    Michael

  • Hey Pheonix,
    This plugin appears to be super awesome and exactly what I need. I have a client that’s exceeding her bandwidth and I’m hoping this will help her to cut back.
    I installed/activated with no problems at all to wp3.0 but when I looked at the source I didn’t see any change whatsoever to the code. How do I know if it’s working?
    Site: http://www.hiphiphoorayblog.com

  • Mark, look for “.nyud.net” (no quotes) in the source code. If there is at least one, then it works. Apparently it’s not currently working, so try debugging mode.

  • Thanks for the quick response, it’s a rarity these days. So I did a find and replace in my text editor and found nothing. Forgive me for having to ask but how do I activate debugging mode? Is this a firefox extension or something?
     
    Thanks!

  • Hi Mark, in your WordPress admin panel, go to Settings – FreeCDN and check “Debug mode”.

  • Alright I checked debug, saved the settings and refreshed. I still get nothing. No changes to the code or any sort of message regarding debug mode. I installed the plugin from the wordpress plugin install menu. Any ideas?
    Check this site: http://www.schmacklab.com

  • Hmmm… Try disabling W3Total Cache then?

  • No dice. I’d been emptying the cache but I went ahead and disabled it entirely.
    I tried to used coral through w3cache with a mirror push (or pull whatever defaults) and it broke everything on my site even though it plugged in the code into my HTML.
    Bizarre. I disabled free cdn and turned w3 cache back on. I’ll leave it be unless you have any more ideas

  • Using your nice plugin on my self-hosted WP it comes to a bug:
    when I write some “smilies” like “:(” WP also insert some “alt=’:(‘ class=’wp-smiley’” but FreeCDN misinterprets it and inserts some weird code that ruin the rest of the page!
    Solution: disable wordpress smilies rewriting.
    Could be nice fixing this bug!
    BYE!

You can follow any responses to this entry through the RSS 2.0 feed.

Trackbacks / Pingbacks