Server-side rendering (SSR) is a technique where the server builds the full HTML for a page on each request and sends it to the browser ready to display, instead of leaving the browser to assemble it with JavaScript.

Definition
Server-side rendering means the HTML a user sees is produced on a server at request time. When someone opens a URL, the server runs the application code, fetches whatever data the page needs, renders the components into HTML and returns a complete document. The browser can paint meaningful content as soon as that HTML arrives, before any JavaScript has run.
The idea is old: classic PHP, Ruby on Rails and Django sites have always rendered on the server. The term SSR became common again with JavaScript frameworks such as Next.js, Nuxt, Remix and SvelteKit, which render the same components on the server for the first view and then let them become interactive in the browser. That combination aims to deliver the fast first paint of a traditional site with the interactivity of a single-page application.

How it works
A request arrives at the server or an edge function. The framework matches the URL to a route, runs any data loading code for that route, such as database queries or API calls, and passes the results to the page components. It then renders those components to an HTML string or stream and sends it back with links to the CSS and JavaScript the page needs.
In JavaScript frameworks, the browser then performs hydration. It downloads the same component code, rebuilds the component tree in memory, matches it to the HTML already on screen and attaches event handlers. Until hydration finishes, the page is visible but buttons and inputs may not respond. Newer approaches such as streaming, partial hydration and server components reduce how much JavaScript has to run before the page is usable.
Because rendering happens per request, SSR pages can show personalized or frequently changing data, such as a logged-in user’s account or live inventory. The cost is server work on every request, so teams typically add caching at the CDN or application layer for responses that are the same for many users.
Keep learning
Put it into practice
Fast, secure and accessible web applications built with React and Next.js, designed for real users and real traffic.
Explore servicePurpose-built software engineered around how your business actually operates, with clean architecture and full code ownership.
Explore serviceFAQ
It usually makes SEO easier, because the content and metadata are present in the HTML the crawler first receives. Search engines can render client-side JavaScript too, but server-rendered or statically generated pages remove a source of uncertainty. SEO still depends on content quality, structure, links and speed, not rendering method alone.
Both send ready-made HTML. Static site generation renders pages once at build time and serves the same file to everyone, which is fast and cheap. Server-side rendering renders on each request, which costs more but can show fresh or personalized data. Many frameworks let you choose per page.
For JavaScript frameworks it needs a JavaScript runtime somewhere, which might be a Node.js server, a serverless function or an edge runtime. Server rendering in general can run in any language: PHP, Python, Ruby, Java and .NET frameworks have rendered HTML on the server for decades.
Talk to a solution architect about where it fits in your roadmap.
