What is SSR (Server-Side Rendering)?
A technique where web pages are rendered on the server and sent as complete HTML to the browser, improving SEO and initial load time.
SSR generates full HTML on the server for each request, unlike SPAs that render in the browser. This enables search engines to crawl content easily and users to see content immediately without waiting for JavaScript to load.
Frameworks like Next.js (React), Nuxt.js (Vue), and SvelteKit support SSR. The server renders the page, sends HTML, then "hydrates" it with JavaScript for interactivity. Trade-offs include higher server load and more complex deployment.