Instead of purely server-side rendering, Gatsby uses the same APIs to create static HTML at build time when you use gatsby build . Gatsby-rendered HTML pages give you the SEO and social sharing advantages of server-side rendering with the speed and security of a static site generator.