DEV Community

Discussion on: How Our Stack Evolved in 10 Years

Collapse
 
plong0 profile image
Pat Long

Gatsby is traditionally a "static site generator" (SSG), it's a bit different than "server side rendering" (SSR), although in the newest versions of Gatsby (4+) they have added SSR and even a new "Deferred Static Generation" (DSG) publishing type.

SSR is about on-demand rendering, so the first time the page is requested it gets rendered server-side and caches the rendered copy for a faster delivery on subsequent requests.

SSG everything is generated at build time, so even the first request for a page is ultra fast.

One appeal of SSR over SSG is that it allows pages to be more dynamic and update more frequently.