How SSR works
With client-side rendering, the browser downloads a mostly empty page and a JavaScript bundle, which then fetches data and builds the content. With SSR, the server does that work first and sends finished HTML, and JavaScript adds interactivity afterwards. Frameworks like Next.js support SSR alongside static site generation and allow mixing both on one site.
SSR is most useful for pages whose content depends on the request or changes often: a signed-in dashboard, personalized pricing, live rates or search results.
The term is sometimes used loosely for any pre-rendered HTML. The distinction matters: true SSR runs on every request, so it needs servers or serverless functions, caching rules and monitoring, while static pages need none of that once they are built.