Cache Eviction Policy - CI/CD Glossary Definition
A cache eviction policy decides which CI caches are dropped when a repo exceeds its cache storage quota, using least-recently-used order on GitHub Actions.
A cache eviction policy governs which CI caches are removed when a repository hits its cache storage limit. GitHub Actions evicts the least recently used caches once the repo exceeds its quota (10 GB by default).
Understanding eviction explains why a cache you expected to hit sometimes misses after a quiet period.
Working with the limit
Keep caches scoped and small so useful ones survive. A branch's cache is also unavailable to unrelated branches, which affects hit rate.
Related guides
Cache Restore Key - CI/CD Glossary DefinitionCache Restore Key: A cache restore key is a fallback prefix used to find a partial cache match when the exact…
Disk Space Reclaim - CI/CD Glossary DefinitionDisk Space Reclaim: Disk space reclaim is freeing storage on a CI runner before or during a job to avoid "no…