Home
Support Forums

Build cache is now updated in Deploy Preview builds

When users create or update a pull request, Netlify can create a Deploy Preview build of the latest commit.

Previously, we weren’t creating a dedicated cache for Deploy Preview builds. Instead, updates to a pull request were built based on the production branch’s cache.

On Tuesday, we released a change to maintain a dedicated build cache for each pull request. The first Deploy Preview we build for the pull request will be built with the production branch’s cache. After that, we’ll build using the cache for the pull request and update it after each build.

This translates to faster, more efficient builds for Deploy Previews. Please let us know if you aren’t seeing the cache get updated during Deploy Preview builds.

5 Likes