Incremental builds with Gatsby and Contentful

Published on June 12, 2020

Incremental builds with Gatsby and Contentful

Subscribe for updates

Build better digital experiences with Contentful updates direct to your inbox.

Gatsby recently launched incremental builds, a new feature of Gatsby Cloud that increases preview and publishing speeds.

Now when your editors log into Contentful and publish new content, your Gatsby site will only re-build the content that has changed — not the entire site. The result rivals the instant publishing experience your team has come to expect from monolithic CMSes.

Developers that use Gatsby Cloud with their Contentful projects get up to 1000x faster build times, often just 10 seconds or fewer. Gatsby keeps your users and content editors happy, even with large and media rich projects.

Incremental builds

Gatsby sites that run on Gatsby Cloud are unbelievably fast. Here’s why.

True incremental builds require granular caching and splitting work between concurrent processes. This can only happen in a highly specialized CI/CD pipeline. That’s exactly why we created Gatsby Cloud. We wanted Gatsby users to have the best experience possible, and not rely on generic build services that have to support a variety of projects. Gatsby Cloud is optimized for Gatsby sites and apps. 

Gatsby and Contentful give you lightning fast build times

Gatsby and Contentful have always worked well together. Contentful empowers you to control all of your content from a single hub and publish to any digital channel. Gatsby helps you create a blazing fast frontend for the web with data sourced from Contentful. 

With Gatsby Cloud you get the additional benefit of content previews within Contentful, Lighthouse reports on every build, and connections to leading CDNs. Now incremental builds break the speed barrier for build times, and opens up new types of websites you can create with Gatsby and Contentful. 

Not every content management framework is a candidate for incremental builds. To build incrementally, Gatsby requires tight integration with a CMS to be able to detect changes. Simply fetching all recent data and figuring out what’s changed is nowhere near fast enough. To get to those 1000x quicker build speeds, Gatsby must integrate with the CMS at a deeper level. We recommend using a CMS like Contentful to guarantee your project can take advantage of Gatsby Cloud’s current and future build speed breakthroughs. 

Starting up your Contentful site on Gatsby Cloud is as easy as visiting https://www.gatsbyjs.com/ and choosing the Contentful starter. You’ll also receive a free, 14 day trial of incremental builds.  

We can’t wait to see the sites you build!

Subscribe for updates

Build better digital experiences with Contentful updates direct to your inbox.

Kim Maida

Kim Maida

Head of Developer Relations and Community, Gatsby

Kim is the head of Developer Relations and Community at Gatsby, an Auth0 ambassador, Google developer expert in security and identity, and Microsoft MVP in developer technologies. She's passionate about making the web a better place, building things with JavaScript, constantly learning and developer communities.

Related articles

Whether you're a digital native or an established business, considering how customers engage with businesses in a digital way is top of mind for everyone.
Insights

Enhancing the digital customer experience: Proven strategies for success

March 19, 2024

How online retailer Pets Deli used loyalty personalization to supercharge its conversion rates by 51% on Black Friday with Ninetailed and Contentful.
Insights

How Pets Deli increased its conversions by 51% with loyalty personalization

March 3, 2022

81% of Executives Struggle to Maintain Global Branding Consistency Amidst Content Chaos
Insights

Controlling content chaos: How modern brands are solving global challenges

July 30, 2024

Contentful Logo 2.5 Dark

Ready to start building?

Put everything you learned into action. Create and publish your content with Contentful — no credit card required.

Get started