cache-buildkite-plugin icon indicating copy to clipboard operation
cache-buildkite-plugin copied to clipboard

Skip compression if cache already exists

Open askoufis opened this issue 1 year ago • 0 comments

I've noticed that compression occurs regardless of whether the cache ends up being pushed to the backend:

https://github.com/buildkite-plugins/cache-buildkite-plugin/blob/d0177d1afda90a6f0beff16f1a4e1ebf6d4391bc/hooks/post-command#L42-L59

It would be nice to avoid compression if the cache already exists in the backend.

askoufis avatar Aug 19 '24 01:08 askoufis