Development

Client-side rendering (CSR)

Sending a mostly empty page and letting JavaScript in the browser build the content.

By Nick Irmo · Updated

What Client-side rendering (CSR) means

CSR works well for app-like tools behind a login. For public marketing pages it can slow the first view and make content harder for some crawlers and AI tools to read. We usually pair it with server or static rendering for anything that needs to rank.

Why it matters for your website

When content only appears after JavaScript runs, visitors on slower phones may stare at a blank screen, and some crawlers and AI tools may not see your content at all. Google can render JavaScript, but it adds a step. For marketing pages, that can mean slower loads and weaker search visibility.

Example

A software startup's homepage is built entirely in the browser. When the team checks how bots see it, the page source contains almost no text, so they switch key pages to server or static rendering.

Tips

  • Use server-side rendering or static generation for pages that need to rank.
  • Check pages with Search Console's URL Inspection to see the rendered result.
  • Keep JavaScript bundles small so content appears quickly on mobile.

Common mistakes

  • Building a whole marketing site as a client-only app without checking SEO.
  • Putting important links behind JavaScript click handlers instead of normal anchor tags.

Questions about Client-side rendering (CSR)

What is Client-side rendering (CSR)?
Sending a mostly empty page and letting JavaScript in the browser build the content.
Can Google index client-side rendered websites?
Yes, Google can render JavaScript, but it may happen later than the initial crawl and errors can block content. Server-rendered or static HTML is more reliable for important pages.
What is the difference between client-side and server-side rendering?
With server-side rendering, the server sends a complete HTML page. With client-side rendering, the browser downloads JavaScript and builds the page itself after loading.

Tell us what the site needs to do.

Share a few details and a budget range. We reply within one business day with a plan, a platform recommendation and a fixed quote.