When you post things here that are available from a website that is hosted at port 80 and requires no special authentication, consider using The Coral Content Distribution Network to avoid "the slashdot effect".

According to their docs, simply add ".nyud.net:8090" to the hostname of your URL. For example, the recent announcement of Catalyst movies contains a URL of http://files.oook.de/catalyst_auto_complete_take1.mov, which can be modified as http://files.oook.de.nyud.net:8090/catalyst_auto_complete_take1.mov.

This provides automatic caching, similar to the commercial Akamai network, albeit for far less cash.

The website also shows how you can add mod_rewrite steps to your Apache server to ensure that appropriate content requests are redirected to the Coral caches. Their example looks like:

RewriteEngine on RewriteCond %{HTTP_USER_AGENT} !^CoralWebPrx RewriteCond %{QUERY_STRING} !^coral-no-serve RewriteRule ^/images/foo(.*)$ http://foo.bar.nyud.net:8090/images/foo$ +1 [R,L]
Note that I've not tested this example, and it appears that it could be greatly simplified (the repeat of /images/foo seems redundant and that coral-no-serve appears application specific as well).

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re: [Slightly OT] Automatic Mirroring when you provide large media
by adrianh (Chancellor) on Jul 14, 2005 at 16:30 UTC
    When you post things here that are available from a website that is hosted at port 80 and requires no special authentication, consider using The Coral Content Distribution Network to avoid "the slashdot effect".

    There's also the Internet Archive's FreeCache which offers a similar service.

        FreeCache is offline as of the latter part of 2004

        Bugger. Quite correct.

Re: [Slightly OT] Automatic Mirroring when you provide large media
by Jaap (Curate) on Jul 15, 2005 at 12:00 UTC
    Here's a bookmarklet for Coralizing a URL:
    javascript:(function (){Qr=prompt('What URL do you want to Coralize?', +location.href);if(Qr){ if(Qr.replace('http://','').indexOf('/')==-1)Q +r=Qr+'/';location.href=Qr.replace(/^http\:\/\/([^\/\@]+)\/(?:)/,'http +://'+'$1'.replace('\:','.')+'.nyud.net:8090/');}})()
    Source: http://www.worldtimzone.com/bookmarklets/