Node Proxy Cache
proxy cache is a module that allows you to run a proxy server that will cache request.
Install
$ npm install node-proxy-cache
Usage
var ProxyCache = proxyCache = {} DS = {}; proxyCache; proxyCache; proxyCache; proxy; // listen on port
Hitting server
$ curl -L -G -d "\$url=http://google.com" http://localhost:9000/
to set the url of the page to proxy to, set the $url
param. Also if you need to specify a path you can either do that in the $url param or on the original.
$ curl -L -G -d "\$url=http://google.com" http://localhost:9000/imghp
or
$ curl -L -G -d "\$url=http://google.com/imghp" http://localhost:9000