عWork with me
SEO glossary

Client-side rendering (CSR)

Building a page in the browser with JavaScript, so the first HTML response is often nearly empty.

Client-side rendering (CSR)
SSRWho builds the page?Server, every requestWhat arrives firstFull HTMLSSGWho builds the page?Build time, onceWhat arrives firstFull HTMLCSRWho builds the page?The visitor’s browserWhat arrives firstNear-empty shell
The more content is in the first HTML, the easier it is for a crawler to read without running JavaScript.

What it is

With CSR, the server sends a small HTML shell and JavaScript fetches data and builds the page in the browser. Googlebot can render JavaScript with a recent version of Chromium, but rendering is queued and can delay indexing. Many other crawlers, including many AI ones, do not run JavaScript at all.

Why it matters

CSR is fine for logged-in app screens, but for pages you want found, content that exists only after JavaScript runs can be indexed late, indexed wrongly or missed by non-rendering crawlers.

Common mistakes

  • Titles, canonicals or noindex set only by JavaScript
  • Links that are click handlers instead of real anchor tags
  • Single-page apps returning 200 for missing pages (soft 404s)
  • Content behind clicks or scroll events that crawlers never trigger

How I handle it

I test what Google renders versus the raw HTML, then move critical routes to static or server rendering, fix status codes and directives, and keep CSR for the interactive parts.

How to check it

  1. Compare view-source with the rendered DOM to list content that only appears after JavaScript.
  2. Use URL Inspection to see the page Google rendered and any blocked resources.
  3. Check that internal links are real anchor tags with href attributes.
  4. Confirm missing routes return 404 status codes, not a 200 with an error message.

Illustrative example

Example scenario: a category page loads its product list through an API call after the page loads. Google may render it later, but a crawler that does not run JavaScript sees an empty list. Pre-rendering that list solves both.

Frequently asked questions

Does Google index CSR pages?

Often yes, after rendering them, but with delay and more risk of errors. Other crawlers may not render JavaScript at all.

Is dynamic rendering recommended?

Google calls it a workaround, not a long-term solution. Server-side or static rendering is the preferred fix.

Sources

Work with me

Need help with this on your site? Tell me about it.

Work with me
Book a free audit call

Work with me

Tell me about your site and goals. I usually reply within 24 hours.

Your message comes straight to me. I usually reply within 24 hours.

Esc

↑↓ move · Enter open · Esc close