npm Registry Caching Proxy

Prevent your continuous integration/deployment workflow from pummeling the npm registry’s couchdb. Reduce headaches and errors during npm install.

  • Tony Eveready


  • Mathias Meyer

    Thanks for putting this out, almost worked a treat.

    i didn’t actually get nginx (1.1.19 on Ubuntu 12.04) to cache anything before adding something like the following line:

    proxy_cache npm;

    After that line, it started caching like a champ.

    • John Watson

      Oh, oops. Thank you!

      Updated the Gist.