🌐Client-Side Rendering (CSR)
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
Common mistake
Key takeaways
- 1Built in the browser. JavaScript draws the page.
- 2Empty at first. Blank until the code runs.
- 3Fast after that. Later clicks are quick.