cache-buildkite-plugin
cache-buildkite-plugin copied to clipboard
Skip compression if cache already exists
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.