Server-side rendering (SSR): deliver HTML from the server

Server-side rendering creates HTML on the server for a request before the browser receives it, making meaningful content available in the initial response.

What SSR changes

SSR moves initial markup generation to the server. The browser receives HTML, then JavaScript may hydrate interactive components. SSR is not synonymous with static generation, caching, fast TTFB or successful indexation.

The proof is the response body and status for a real URL, not a framework setting.

The diagram shows the main inputs, checks and decision path for Server-side rendering (SSR): deliver HTML from the server.

Test the response

Inspect initial HTML with JavaScript disabled or a raw fetch. Check status, canonical, primary text and error behavior before hydration.

  1. Fetch initial HTML.
  2. Test a missing route.
  3. Compare rendered and raw content.
  4. Measure TTFB separately.
  5. Test cache variants.

Choose the rendering path

Use SSR where request-time data or personalisation is necessary and the origin can respond reliably. Static or cached output may fit stable public pages better.

QuestionCheckLimit
Initial contentPresent in response HTMLHTML alone does not ensure quality
Error routeCorrect 404/410/500 statusClient UI can mask status
PerformanceTTFB and assets separatelyOne score hides layers

SSR limits

A server-rendered page can still be slow, return an error, or hide content behind later client calls.

Do not label a route SSR complete until its actual HTTP response, HTML and error states have been checked.

FAQ

Does SSR guarantee good Core Web Vitals?
No. Origin time, HTML size, assets and client work still need separate measurement.
How can SSR be verified?
Inspect raw initial HTML and HTTP status for representative routes, then compare with the rendered page.
Can an SSR route return a soft 404?
Yes. A branded error view must still return the appropriate HTTP status.