Free CDN
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
- Download the plugin
- Extract into a folder
- Upload the entire to `wp-content/plugins/` directory of your WordPress installation
- Enable it via Plugins panel
- 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
Sorry for that.


Ehab
16 Sep, 2009
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+
phoenix.heart
17 Sep, 2009
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!
DJSlim
19 Sep, 2009
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
roger
19 Sep, 2009
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
phoenix.heart
19 Sep, 2009
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.
Roger
19 Sep, 2009
Http://crunch.Mooo.Com if you need login let me know it’s demo blog
phoenix.heart
19 Sep, 2009
Roger, from what I see you still have debug mode active. Please deactivate it?
Roger
19 Sep, 2009
Ok i de-actived th
phoenix.heart
19 Sep, 2009
I see it works now?
Roger
19 Sep, 2009
Still images load fr
Ипотпал
12 Oct, 2009
Thank you for the plugin
Fabio Brito - @psychopenguin
23 Oct, 2009
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.
So I put the fake URL http://jeguiando.com/class and my CSS come back to work again.
Zaheer
23 Oct, 2009
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
phoenix.heart
24 Oct, 2009
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.
Stephen
26 Oct, 2009
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
phoenix.heart
26 Oct, 2009
@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.
Stephen
26 Oct, 2009
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?
phoenix.heart
26 Oct, 2009
No, quick debug checked the Free CDN is not active, that’s why everything looks fine. Please follow what I suggested Zaheer.
Sabuj Kundu aka manchumahara
30 Nov, 2009
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
Susuteh
21 Dec, 2009
plugin not compatible
cSprites
good works buddy, I have installed in both of my blogs
KarmaBogus
25 Dec, 2009
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
phoenix.heart
25 Dec, 2009
Thanks for the info KarmaBogus, I will check it right away.
phoenix.heart
25 Dec, 2009
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!
KarmaBogus
25 Dec, 2009
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
phoenix.heart
25 Dec, 2009
In this case, you are way right
Sorry for my last reply. Will fix it in the next version.
KarmaBogus
25 Dec, 2009
LOL! No need to be sorry. I’m glad I helped you to probably improve your really useful and great plugin. ;)
KB
Mike Freedman
30 Dec, 2009
I added links to this plugin to CoralCDN’s site.
phoenix.heart
30 Dec, 2009
Thanks Mike!