Hello good people!
I want to ask a question. As far as we using Nexus it’s very great to have proxy repositories and cache packages inside of the Nexus for quick access them later. Great feature, thank Sonatype for that!
Question is: Can we configure somehow this cache policies?
I mean, for example:
PyPi proxy repository
Some package, let’s say
We use this package for our build and it was downloaded and cached inside Nexus.
A few days later new version of package was introduced and uploaded to a proxy repo with
And we still using this package in our build. What will happen when the code triggered to build? Will the cached version be in use or 1.1.1 will be downloaded and cached instead?
Second question: can we configure somehow time that cached packages are stored in global?(for example 1 week) and per repository?(for example: 1 week for PyPi and 1 month for NuGet?)
Can’t find this in documentation so if someone will provide me a link for that - that will be cool.