Webinar

“Digging into Gatsby 5’s Slice API” Register now

Rendering Options

Gatsby provides a variety of rendering options so that you can choose the one that works best for your use case. Use the default Static Site Generation to create pages at build time, or try Deferred Static Generation to build a page the first time a user requests it. Or try Server-Side Rendering, if you need to generate pages on the fly.

Deferred Static Generation (DSG)

With Deferred Static Generation, Gatsby will wait to build certain pages until the first user request to that page.

Server-Side Rendering (SSR)

Use Server-Side Rendering to pre-render a page with data that's fetched each time a user visits the page.

© 2022 Gatsby, Inc.