キャッシュヒットとは?
キャッシュヒットは、ルックアップが要求されたキーに対する有効なエントリを見つけ、オリジンに問い合わせることなくそれを返すときに起こります。ヒットは高速かつ低コストであり、これがキャッシングの主眼そのものです。総ルックアップに対するヒットの比率は、キャッシュがどれだけ効果的かを測ります。
なぜ重要か
各ヒットは往復を節約し、バックエンドシステムへの負荷を減らします。Latchkey の runner では、依存関係の cache ヒットにより build がパッケージの再取得をスキップでき、job の時間とコストを直接削減します。
関連ガイド
What Is a Cache Miss?A cache miss occurs when requested data is not in the cache, forcing a slower fetch from the origin and usual…
What Is a Warm Cache?A warm cache is already populated with frequently needed data, so most requests hit it and are served quickly…
What Is Cache Hit Ratio?Cache hit ratio is the fraction of cache lookups served from the cache rather than recomputed or refetched, a…