DEV Community

Discussion on: Do I have to rebuild my entire JAMstack site for every new change?

Collapse
 
shortdiv profile image
Divya

When you say fetches data from the ssg do you mean at build time ?

Collapse
 
waylonwalker profile image
Waylon Walker

Lol yes, not really worded well. 🤣

Thread Thread
 
shortdiv profile image
Divya

All good! Doesn't that setup still mean depending on fast builds for speedy updates on render?

Thread Thread
 
waylonwalker profile image
Waylon Walker

The json is hosted separately, and is live as soon as it's published. The data is fetched live from the client side on render.

I do have a short cache time on it to speed up refreshes, but still allow for near live data. Or use hard refresh to force it to fully refetch.