Content Deep Dive
Enable Gatsby Incremental Builds on Netlify
Blog post from Netlify
Post Details
Company
Date Published
Author
Jason Lengstorf
Word Count
440
Language
English
Hacker News Points
-
Summary
Gatsby has released incremental builds to improve build performance by reducing the amount of work required to build a site. To enable Gatsby incremental builds on Netlify, users need to upgrade their Gatsby version, install cross-env, add the Gatsby Cache Netlify Build Plugin, and update their build command in package.json with the `GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES` flag. With these changes, Gatsby sites will only rebuild the parts of the site affected by changed data, resulting in faster builds and improved performance.