How to speed up Gatsby builds on Netlify
November 17, 2020
I recently discovered that you can greatly improve the speed of Gatsby builds on Netlify, especially if you have a lot of images being optimized with gatsby-image
, through the Netlify plugin Gatsby Cache.
Open your Netlify dashboard and click on the Plugins tab. Search for āGatsby Cacheā and click Install, then find your Gatsby site and install the plugin to that site.
This plugin will take effect on future builds, and itāll persist the Gatsby build cache between changes. This means that Gatsby will be able to intelligently save time, such as not re-optimizing images that havenāt changed.
Subscribe to my newsletter!
A weekly round-up of new blog posts and updates to projects Iām working on.