JAM Stack

SSR / SSG / ISR

  • CSR: Slow first render, needs JS execution. CRA, bundled React apps...
  • SSR: Pages are computed on each request. JSP, PHP, old Next apps...
  • SSG: Static pages built at build time. Gastby, Next.js...
  • ISR: Build like SSG, then cache and refresh with SSR. Next.js.

Static Site Generation

Write Code / CMS content -> build static pages -> deploy