<@U0EH3DM7W>: our distributed cache uses NFS. The...
# general
a
@adorable-glass-89507: our distributed cache uses NFS. The configuration is pretty simple:
Copy code
[cache]
# '/mnt/nfs/shared-cache/pants-artifact-cache' is available on ec2 workers
read_from: ["/mnt/nfs/shared-cache/pants-artifact-cache"]
read: True
write_to: ["/mnt/nfs/shared-cache/pants-artifact-cache"]
write: True
# Turn off auto-purging of the buildcache.  We have a cronjob that cleans the NFS mount
# for all artifacts older than 2 weeks
max_entries_per_target: 0