Is cache-hit also true when restore-keys is hit? #789
-
Hi, I am trying to find information about
As you can see, I use
Any help is highly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If there is a cache that fits |
Beta Was this translation helpful? Give feedback.
If there is a cache that fits
key
, it is calledcache-hit
, and the action restores the cache file topath
. If the cache does not matchkey
, it is calledcache-miss
, and a new cache is created when the Job is successfully terminated. Whencache-miss
occurs, the action usesrestore-keys
as an alternative key to rediscover. In this case,cache-hit
returns false.