Home / Companies / Prismic / Blog / Post Details
Content Deep Dive

What is Client-side Rendering (CSR)?

Blog post from Prismic

Post Details
Company
Date Published
Author
Nefe Emadamerho-Atori
Word Count
1,866
Language
English
Hacker News Points
-
Summary

Client-side rendering (CSR) is a web development approach that shifts the rendering process from the server to the user's browser using JavaScript, enabling the creation of dynamic, interactive web experiences. It involves the server sending a minimal HTML file with links to JavaScript files, which the browser then downloads to render the content. CSR is particularly suited for applications requiring high interactivity, such as chat apps and social media platforms, and is supported by popular frameworks like React, Vue.js, Angular, and Svelte. While CSR reduces server load and enhances user interactivity without full page reloads, it can lead to longer page load times and is less SEO-friendly compared to server-side rendering. Additionally, CSR's performance is dependent on the user's device capabilities, potentially causing inconsistent experiences across devices. Understanding the strengths and limitations of CSR helps in determining its appropriate use cases, such as dynamic web applications and internal tools where SEO is not a priority.