re: How freeCodeCamp.org uses the JAMstack + a single API server to help millions of people learn to code every month VIEW POST

VIEW FULL DISCUSSION
 

6,000+ pages sounds like it would be a pain to rebuild with each change. I've considered something like Gatsby for a large site I manage with mostly static content, but we've got 9,000+ posts and I'm concerned about the build times whenever someone realizes they made a small typo.

Is Gatsby smart enough to only build what changed, or does it build everything every time? And how long does that take?

 

You can both cache the build inside of Gatsby and on Netlify. :)

 

Gatsby is pretty smart. Building has been slow in the past, but it's steadily getting faster.

 

This is more of a question than a statement. I thought that was what a React app was good at. Only building what had changed.

 

Try Hugo. Your 9000 page site will take a second to build. Most likely less.

 
 

I have no idea, but it really should be smart enough to build what’s changed. Seems like fairly straightforward diffing.

code of conduct - report abuse