Least Recently Used - CI/CD Glossary Definition
Least recently used (LRU) is an eviction policy that discards the cache entries untouched for the longest time first when space is needed.
Least recently used (LRU) is an eviction policy that discards the cache entries untouched for the longest time first when space is needed.
LRU is the default eviction strategy for most CI caches because recently used entries are the ones most likely to be needed again.
In GitHub Actions
The Actions cache evicts LRU entries once a repository exceeds its cache size limit (10 GB), and also removes entries not accessed for 7 days. Frequently hit caches survive; stale ones age out.
Related guides
What Is Cache Eviction?Cache eviction is the removal of entries from a cache to make room or enforce limits, using policies like lea…
Cache Scope - CI/CD Glossary DefinitionCache Scope: Cache scope defines the boundary within which a cache entry is visible and reusable, such as per…
What Is a Cache Key?A cache key is the identifier that determines which cached entry a lookup retrieves, typically derived from t…