2 ms·
From the docs, it looks like this has support to proxy package downloads from NPM. But, it's not clear if this is cached or not. Does anyone know if it's possi
by neuland 8y ago
From the docs, it looks like this has support to proxy package downloads from NPM. But, it's not clear if this is cached or not.
Does anyone know if it's possible to use this as a cache for installing packages from https://registry.npmjs.org/ https://registry.npmjs.org/?
I have something exactly like this setup on my laptop to proxy PyPI and allow installing packages from cache when I'm offline or in the rare PyPI outage.
Edit: It has cache, but I mean does it use the cache if NPM is down or I'm offline.
- sheetjs 8y agoYes, this is the default setting: https://www.verdaccio.org/docs/en/uplinks.html https://www.verdaccio.org/docs/en/uplinks.html
- randallsquared 8y agoYes, it does use the cache in preference to npmjs.org under normal conditions. The typical issues of using npm to build production systems are much reduced, though not as much as with vendoring. My last company used this, replacing Sinopia.