
7/9/2020
What this post added
This post introduces Server-side Rendering (SSR) and Static Generation (SSG) in Next.js. It details how SSR pre-renders pages on every request for up-to-date data, while SSG pre-renders pages at build time for maximum performance. The post also introduces Incremental Static Generation (ISG) as a way to update statically pre-rendered pages after build time, and Client-side Fetching as a method to fetch data on the client after initial static generation. It provides examples for an e-commerce app, demonstrating per-page configuration for data fetching strategies.