Cache Scope - CI/CD用語集の定義
cache scope は、cache エントリが可視で再利用可能な境界を定義します。たとえば branch ごと、リポジトリごと、または組織全体で共有されるなどです。
cache scope は、cache エントリが可視で再利用可能な境界を定義します。たとえば branch ごと、リポジトリごと、または組織全体で共有されるなどです。
スコープは誰が cache エントリを読み書きできるかを決定し、これはヒット率と branch 間の分離の両方に影響します。
GitHub Actions において
Actions の cache はエントリを branch ごとにスコープします。branch は自身の cache とデフォルト branch の cache を読みますが、他の feature branch のものは読みません。これにより、ある branch が別の branch を汚染するのを防ぎます。
関連ガイド
What Is a Cache Key?A cache key is the identifier that determines which cached entry a lookup retrieves, typically derived from t…
What Is Cache Eviction?Cache eviction is the removal of entries from a cache to make room or enforce limits, using policies like lea…
actions/cache: Keys, Restore Keys & Best PracticesReference for actions/cache - how cache keys and restore-keys work, what to cache per ecosystem, and how to a…