Overview - SSR vs CSR mental model
What is it?
SSR (Server-Side Rendering) and CSR (Client-Side Rendering) are two ways to show web pages to users. SSR means the server builds the full page and sends it to the browser ready to display. CSR means the browser downloads a basic page and then builds the content using JavaScript. Both methods create the same visible page but work differently behind the scenes.
Why it matters
Without understanding SSR and CSR, websites might load slowly or feel unresponsive. SSR helps pages appear quickly and improves search engine visibility, while CSR allows smooth user interactions after loading. Knowing the difference helps developers build faster, friendlier websites that users enjoy and search engines can find.
Where it fits
Before this, learners should know basic web page structure (HTML, CSS, JavaScript) and how browsers display pages. After this, learners can explore advanced Angular features like Angular Universal for SSR and client-side state management for CSR.