Is it possible to cache by key, not branch name



Right now, build cache is stored based on the branch name.
But, is it even possible to use cache key instead of using branch name?
If so, how do we do that?

Thank you


Hi @hendychrst, thanks for raising the question!

Cache is stored per branch so for now that would be the only option. More info:

Although I am not entirely sure what you have in mind by using cache keys, can you perhaps explain how would you expect this process to work? :slight_smile: