This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Free CDN

Description

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

History

  • 1.1.2 Fix bug with non-default port
  • 1.1.1 Minor security fix
  • 1.1.0
  1. Code optimization
  2. Some bug fixes
  3. Add PayPal Donate button 😉

* 1.0.0 Initial version

Screenshots

  • A peek of Options page
  • HTML source code in Debug, listing down the contents that would be served through Coral CDN

Installation

As usual:

  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

I just enabled Free CDN. Now my contents take longer than usual to be downloaded!

The speed of downloading static contents is 100% decided by Coral servers. Depending on the server status, sometimes it may take a bit longer for the contents to be downloaded. If the performance is not satisfied, you may want to enable the plugin in certain peak times only.

My JavaScripts got broken! My cookies just don’t work! [Insert error here]

If your javascript doesn’t work anymore, best bet is to uncheck “External JavaScript includes” from “Using CDN on these contents” option section. You can also enable Debug mode to see which files get involved, and try excluding them one by one to find out the problematic one and deal with it for good.

Why doesn’t the plugin parse the external stylesheet and rewrite the background images there too?

There should be no need. If the stylesheet got rewritten and is served through Coral, all relative (most commonly) background images defined inside it will be pulled from Coral servers too.

Everything went wrong! My site is now totally blank/ messed up!

Looks like a plugin conflict. Try disabling your plugins one by one to find out which caused the problem.

Contributors & Developers

“Free CDN” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Free CDN” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.