Faster builds with layer caching
v2.13.0Improved
Repeat builds are up to three times faster for Node and Python.
Builds now reuse dependency layers when your lockfile has not changed. Most projects see repeat builds finish two to three times faster.
Details
- Works with
package-lock.json,pnpm-lock.yaml,yarn.lock,poetry.lock, andrequirements.txt - The cache is kept per branch, so preview builds do not evict production layers
- Clear it from Settings → Build or with
cloud build --no-cache
No configuration is needed. Caching is on for every project.