Skip to content
BENIBIX Learn

Client-Side Rendering (CSR)

Development🌐 Web DevelopmentRendering

Also known as CSR, Browser Rendering

The browser builds the page with JavaScript. It starts once the code arrives.

Think of it like

Think of it like getting a flat-pack table. The parts arrive, and you build it at home.

Example

Jack's dashboard sends a tiny HTML file and a 400 KB script. On a slow phone, the screen stays blank for 3 seconds before the charts appear.

Why it matters

It decides how fast a page first shows. On slow phones, CSR can feel very slow.

Definition

Client-side rendering means the browser builds the page with JavaScript. The server sends a nearly empty HTML file plus the code. The code then runs in the browser, fetches data and draws the page. It keeps the server simple and makes later clicks fast. But the user sees a blank screen until the code has loaded and run.

Common mistake

Using it for pages that need to be found in search. Some crawlers see only the empty HTML.

Key takeaways

  1. 1
    Built in the browser. JavaScript draws the page.
  2. 2
    Empty at first. Blank until the code runs.
  3. 3
    Fast after that. Later clicks are quick.

Compare