Remove expired caches.
jdalton opened this issue · comments
John-David Dalton commented
If you split the cache file name in two:
Say 8 chars of md5 of the filepath and then the last 8 chars are md5 of esm version, config, mtime, etc. Then you can detect and remove old entries that start with the first 8 but don't have the current last 8.