actions / cache

Cache dependencies and build outputs in GitHub Actions
MIT License
4.36k stars 1.16k forks source link

Cache Hit / Miss Rate Information #1357

Open edhgoose opened 3 months ago

edhgoose commented 3 months ago

Hi,

We're using the actions/cache action, and are trying to optimise its usage across many different actions.

One of the things which would be very helpful to understand is the hit/miss rate. While we can work it out by reading the output of an individual action, working out the cache rate on aggregate across many actions is harder.

We'd love to be able to see a cache hit/miss rate for different caches so we can determine if the caches are performing well or not.

Would this be possible to add?

Thanks, Ed