For repository caches, sometimes there is experimentation where we might pull down a dependency (and its dependencies), and then decide to upgrade or abandon before committing. Often you can see a dependency with 1 download -- this is usually an experiment...
Overall, my repo cache is getting very large and I want to trim it down. Is there a good strategy to keep the proxy caches from becoming obese? I would like to see features like:
- If last access time is longer than x months, purge from cache.
- If # of downloads is less than x, purge from cache.
I think with the above 2 mechanisms, I can avoid cacheing the internet and maintain relevance. ;-)
Does such cache management exist?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For repository caches, sometimes there is experimentation where we might pull down a dependency (and its dependencies), and then decide to upgrade or abandon before committing. Often you can see a dependency with 1 download -- this is usually an experiment...
Overall, my repo cache is getting very large and I want to trim it down. Is there a good strategy to keep the proxy caches from becoming obese? I would like to see features like:
- If last access time is longer than x months, purge from cache.
- If # of downloads is less than x, purge from cache.
I think with the above 2 mechanisms, I can avoid cacheing the internet and maintain relevance. ;-)
Does such cache management exist?
This is planned for the next minor release.
You can follow it up at: http://issues.jfrog.org/jira/browse/RTFACT-333
Yoav