happy-family-315
03/04/2024, 12:07 PMnamed_caches
gets very large over time? I use pex inside my devcontainer and mounted the named_caches
directory so that it persists over rebuilds. But I a few weeks later I saw that this directory grew to 40GB in size. I don't want to delete the whole directory, because rebuilding takes much time. I use pants export to export the virtual env which is quite fast when having named_caches
.happy-kitchen-89482
03/04/2024, 3:27 PMnamed_caches
cache all the parts of all your pexes/dists. There is structure sharing, so you don't have multiple copies of the same wheels, but it does all add up. There is no cache eviction logic.