Caching

Cache Hit

A cache hit occurs when a lookup finds stored data that satisfies the requested key and compatibility rules. Exact and partial matches may have different meanings, so a restored archive does not always indicate an exact hit.

Why it matters

A usable match can eliminate work, but partial restores may still require validation.

Practical example

Check the cache action's exact-match output before skipping an installation step.

Related terms

Sources

Definition reviewed .

Start with $10 in free credits

Change the runner label in your workflow and keep the rest of your GitHub Actions setup. Runner time is billed per minute.

← Return to glossary