What Is a Cache Hit?
A cache hit happens when a lookup finds a valid entry for the requested key and returns it without contacting the origin. Hits are fast and cheap, which is the entire point of caching. The ratio of hits to total lookups measures how effective a cache is.
Why it matters
Each hit saves a round trip and reduces load on the backing system. On Latchkey runners, a dependency cache hit lets a build skip re-fetching packages, directly cutting job time and cost.
Related guides
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…