Dear HNers,
I'm trying automate downloading the latest versions of all external scripts (jquery, prototype etc.) on our website and load them locally in order to improve page load times.
Writing a script like that seems fairly easy but just wondering if there's a well built solution out there.
For single-file libs like jQuery, you should look at using a CDN. I believe Google's jQuery CDN is the fastest. There's no need to host it yourself.
Semi-related: having both jQuery and Prototype on a single page is going to hurt load times. See if you can replace all your Prototype stuff with jQuery.
(Just out of curiosity, why exactly are you using Prototype at all?)