GlossaryDevelopment

Server-side rendering (SSR)

Also called: SSR, dynamic rendering

Definition

A way of building web pages where the server generates the full HTML for each request before sending it to the browser. Visitors and crawlers receive readable content immediately instead of waiting for JavaScript to build the page on their device.

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.

Why it matters for your website or product

Search engines can render JavaScript, but it is slower and less reliable, and many AI crawlers do not render it at all. Content that only appears after scripts run may never be seen. SSR makes every page readable on the first request, which supports technical SEO and AEO.

It can also improve perceived speed, since visitors see content sooner, especially on slower phones. The cost is server work on every request, so pages that rarely change are often better pre-built as static files and served from a CDN.

How we handle it

We render per page, not per site. Marketing pages are usually static or regenerated on a schedule, while dashboards, portals and anything personalized use server rendering with caching where safe. Sensitive data is fetched on the server and never exposed in client bundles. See web app development and why we use Next.js for marketing sites.

Example

Hypothetically, a lender's rate page was built as a single-page app that loads rates with JavaScript. Search results show an empty description and AI assistants quote nothing. Rendering the page on the server, with rates cached for a few minutes, gives crawlers and visitors the full content on first load.

Common mistakes

  • Rendering marketing pages client-side and assuming every crawler runs JavaScript.
  • Server-rendering pages that never change, adding cost and latency for no benefit.
  • Caching personalized server-rendered pages so one user sees another's data.
  • Shipping large client bundles anyway, which cancels much of the speed gain.

Questions, answered

Still deciding? Book a 30-minute call.

  • SSR builds a page on the server for each request, while static site generation builds pages once at deploy time. Static pages are faster and cheaper to serve but show the same content to everyone until rebuilt. SSR suits personalized or frequently changing content. Modern frameworks let you choose per page.

  • Server-side rendering is not strictly necessary for SEO, but some form of pre-rendered HTML is strongly recommended. Either SSR or static generation works. Relying entirely on client-side rendering risks delayed or incomplete indexing, and many AI crawlers do not run JavaScript, so content they cannot see cannot be cited.

Start building this week

Subscribe online in a minute, or talk it through on a call first.