How to limit the caching of packages on the uplink or cache specified packages instead of caching all packages #4109
-
I purchased a cloud server with low specifications, including a hard drive with only 30GB of space. I wanted to set up a private npm registry, but I found that Verdaccio caches all packages from upstream links. However, I only want to cache my private packages to ensure that my hard drive has enough space. |
Beta Was this translation helpful? Give feedback.
Answered by
juanpicado
Nov 10, 2023
Replies: 1 comment
-
There is a property for the uplink named |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
juanpicado
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a property for the uplink named
cache
https://verdaccio.org/docs/uplinks , that avoid store tarballs, which take the most of the space.