DEV Community

Discussion on: How uses the JAMstack + a single API server to help millions of people learn to code every month

tvanantwerp profile image
Tom VanAntwerp

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?

ben profile image
Ben Halpern

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

ahmadawais profile image
Ahmad Awais ⚡️

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

jel111 profile image

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.

dustinmatlock profile image
Dustin Matlock

Smashing Magazine switched from WordPress to a JAMstack:

tonyalaribe profile image
Anthony Alaribe

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

ossia profile image
Quincy Larson Author

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