What is server-side rendering (SSR)?

Server-side rendering (SSR) is when a web server builds the full HTML for a page each time someone requests it, then sends that finished page to the browser.

Curious how your site handles SSR?

Send me the address. I’ll look under the hood and tell you plainly what I find, free.

No newsletter. Just what you asked for, from me. Privacy

In plain English

With SSR, a visitor’s request reaches a server, which runs code, fetches data and produces the page’s HTML on the spot. The browser receives complete content straight away, then JavaScript can add interactivity.

Frameworks like Next.js and Remix support SSR for React. Traditional WordPress also renders on the server, using PHP rather than JavaScript.

Why it matters for a small business

SSR gives search engines full HTML, like static generation does, while allowing content that changes per request or per user. The cost is a server that must run for every visit, which adds hosting complexity and can slow Time to First Byte.

An example

A Calgary car dealership shows live inventory that changes many times a day and personalized pricing for logged-in customers. SSR suits that. A five-page accounting firm site with the same content for everyone gets nothing from it that static generation wouldn’t provide more cheaply.

Common mistakes

Where I see SSR go wrong most often.

  1. Using SSR for content that rarely changes, paying for servers that rebuild identical pages.

  2. Not caching server-rendered pages, so every visit triggers a slow rebuild.

  3. Assuming SSR automatically makes a site fast, when slow data fetching still delays the page.

FAQ

SSR, answered

  1. Both deliver full HTML, which is what matters for SEO. Static pages are usually faster to serve. SSR is for content that must be fresh per request.

  2. Yes. WordPress builds pages on the server with PHP, often with caching so it doesn’t have to rebuild every page for every visitor.

Keep reading

Let’s begin

Let’s build something you’re proud to share.

Let’s Talk