There's a nice script for cache size maintenance i...
# general
h
There's a nice script for cache size maintenance in the docs for using pants in CI. I've noticed that this script can take many multiple minutes to run even though we call it on two directories. Is that what others have experienced or are we likely doing something wrong?
b
In my experience, the
named_caches
directory in particular can contain many many small files/directories, so manipulating it can be very slow. We’ve stopped caching it in CI entirely, because it wasn’t worth the time. Alternatively, one could be precise about which subdirectories of it one caches.