2023-07-17
Two Forms of Pre-rendering
Next.js offers two forms of pre-rendering: Static Generation (SG) and Server-side Rendering (SSR). SG generates HTML at build time, resulting in fast and cacheable pages. SSR generates HTML on each request, allowing for dynamic and personalized content. Choosing between the two depends on your project's requirements.