A pipeline repeatedly downloads identical dependencies and spends most of its time restoring them. Which optimization should be evaluated first?

Published
  1. Cache every environment under one unchanging key
  2. Rebuild the operating system on every dependency fetch
  3. Skip all tests to compensate for slow downloads
  4. Dependency caching with keys based on the relevant lockfile and environment

Comments — 0