Least Recently Used - CI/CD用語集の定義
least recently used (LRU) は、スペースが必要なときに最も長く触れられていない cache エントリを最初に破棄する退避ポリシーです。
least recently used (LRU) は、スペースが必要なときに最も長く触れられていない cache エントリを最初に破棄する退避ポリシーです。
LRU はほとんどの CI cache のデフォルトの退避戦略です。最近使用されたエントリは、再び必要になる可能性が最も高いからです。
GitHub Actions において
Actions の cache は、リポジトリが cache サイズ制限 (10 GB) を超えると LRU エントリを退避し、7 日間アクセスされていないエントリも削除します。頻繁にヒットする cache は生き残り、古いものは期限切れになります。
関連ガイド
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…