Summary of the new feature / enhancement
It could be useful with a local cache of downloaded .nupkg files, like other package managers does.
Having this would make it feasible to implement other fatures too, like:
Proposed technical implementation details (optional)
- Make it optional.
- Make cache invalidation / deletion / purge logic configurable.
- Keep to latest version of each script/module?
- Delete cached items after x days?
- Could help with cache in CI/CD too, like in GitHub actions, if
Install-Package did not delete the .nupkg files it downloaded.
- Add some cmdlets to manage cache
- Get current cached items and total size.
- Clear cache.