Gatsby Build Times On Netlify Solved?

11/05/20191 Min Read — In React.js, JavaScript, Gatsby.js

I wrote about my Gatsby build time woes yesterday.

Unfortunately, Netlify and Gatsby rebuild my site completely with every update.

I use the gatsby-plugin-netlify-cache but build times are still high.

While searching for ways to optimize my Netlify build I stumbled upon an issue on the Gatsby repository.

The issue was merged into master and published to gatsby@2.17.0.

Before:

At the moment this hash changes if anything within ./src has changed between builds. Meaning a 404 file could be changed which would result in all page-data.json & HTML files being updated even if they have not changed between builds.

I've updated my Gatsby dependencies to the latest versions, and will see if it solves my problems with slow build times.