Hello there,
We run Bazel on a CI environment, and we use --disk_cache and --repository_cache to save some information on a persistent storage, so builds will be running faster.
That's quite a big project, so the cache size (both disk_cache and repository_cache) is something like 2.5GB. There's a lot of daily builds going on, and the cache grows fast (perhaps a bit too fast - I'm investigating it). It can reach 6-7G.
The information at the Bazel sites mentioned nothing managed --disk_cache, and it's your responsibility to periodically do cache cleaning.
I wonder if anyone else is already doing that - and if perhaps a remote cache server is a better option - as it's being managed better then what I can get with `disk_cache`.
Thanks!