Server-side rendering (SSR)
Generating a page’s HTML on the server for each request, so crawlers and visitors receive complete content in the first response.

What it is
With SSR, the server builds the HTML for a page when it is requested, then the browser may hydrate it to make it interactive. Search engines and non-rendering crawlers see full content immediately. It suits personalized or frequently changing pages, at the cost of server work on every request.
Why it matters
It removes the dependency on JavaScript for the content that matters, which helps indexing speed and reliability and makes pages visible to many AI crawlers that do not execute scripts.
Common mistakes
- Slow server response (high TTFB) because every request does heavy work
- Content that differs between server and client, causing hydration errors
- No caching or CDN in front of server-rendered pages
- Returning status 200 for pages that should be 404
How I handle it
I compare raw and rendered HTML per template, check response times and caching, and recommend where SSR is worth it and where static generation is simpler and faster.
How to check it
- Fetch the page with curl or view source and confirm the main content, links and structured data are in the initial HTML.
- Measure time to first byte for server-rendered routes, with and without cache.
- Compare the server HTML with what the browser shows after hydration for mismatches.
- Check that missing pages return real 404 responses, not 200.
Illustrative example
Example scenario: a product page built in the browser shows an empty shell to crawlers until JavaScript runs. Rendering it on the server delivers the title, price, description and schema in the first response, so it is readable to every crawler immediately.
Frequently asked questions
Is SSR better than SSG for SEO?
Neither is inherently better for SEO. Both send full HTML. SSG is usually faster for stable content, and SSR suits pages that change per request.
Does SSR hurt performance?
It can if every request does heavy work. Caching at a CDN and streaming responses keep first-byte times low.
Related terms
Related services
Sources
- Rendering on the web · web.dev
- Understand JavaScript SEO basics · Google Search Central