Understanding how SSG, SSR, and CSR work in Next.js
Static Site Generation
💡 cache: "force-cache"
Server-Side Rendering
💡 cache: "no-store"
Client-Side Rendering
💡 "use client" directive
📝 Click each page and see how they differ! Check HTML source, Network tab, and notice when data loads.
💡 Refresh SSR page to see new data each time. Inspect DevTools to see the difference!