CoralCDN
From Lankyland
Contents |
What is it?
CoralCDN is a free Content Distribution Network that is really rather easy to implement.
Why use it?
CoralCDN provides a global network of caching machines that can easily handle large files or an increase in traffic. It can be implemented via Client-Side and Server-Side.
Client-Side
If a website that you are going to is slow or unresponsive you can append .nuyd.net to the address in the Address bar.
Server Side
This needs to be implemented by the web developer.
How do I use it?
There are a few ways to use the CoralCDN
The Easy Way
The simplest method to using CoralCDN is to append .nyud.net to any links for files that you want served from the CoralCDN.
Example:
<a href="http://foo.bar/largefile.iso">- the file is served from the foo.bar server whenever it is requested<a href="http://foo.bar.nyud.net/largefile.iso">- the file is pulled from foo.bar once and cached on the CoralCDN and any later requests are served from the CoralCDN.
The More Complex Way
Using mod_rewrite
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} !^CoralWebPrx
RewriteCond %{QUERY_STRING} !(^|&)coral-no-serve$
RewriteRule ^/images/foo(.*)$ http://foo.bar.nyud.net:8080/images/foo$1 [R,L]

