[ccache] ccache's cleanup algorithm
joel at rosdahl.net
Thu Nov 5 19:10:16 UTC 2015
In ccache's cleanup.c module, the comments say that files are deleted from
> the cache on a LRU basis. However, the code refers to mtime, not atime, so
> it appears that ccache is, in reality, using a Least Recently *Modified* basis
> upon which to expire files from the cache. Is that really what ccache does?
> Or did I miss something?
Yes, mtime is updated on a cache hit, looks for calls to the update_mtime
More information about the ccache