1.1.2 • Published 12 years ago
angry-caching-proxy v1.1.2
Angry Caching Proxy
This is a angry caching proxy which speeds up package downloads for apt-get, npm and rubygems.
It works by doing very angry caching (forever!) for the actual package files. This should work ok as long as the package authors won't override already uploaded packages. For details review the handler files.
Install
Get node.js and type
sudo npm install -g angry-caching-proxyor if you don't sudoing random code you can install it locally too:
npm install angry-caching-proxyand execute it with
node_modules/.bin/angry-caching-proxyUsage
Create directory where save cached files
mkdir cacheand start the server
angry-caching-proxy --directory cacheapt-get
http_proxy=http://localhost:8000 sudo -E apt-get install slBundler
http_proxy=http://localhost:8000 bundle installnpm
With npm it is required to use the non-https version of the registry
http_proxy=http://localhost:8000 npm install --registry http://registry.npmjs.org/