restore-keys

A list of key prefixes the cache action tries, in order, when no entry matches the exact key.

In more detail

A prefix match restores the most recent similar entry, a near miss that still saves most of the download. The cache-hit output is false in that case, and a new entry is saved under the exact key after the job succeeds.

Related terms

Taught in

References