DEV Community

Cover image for ⭐ Client Side Rendering vs Server Side Rendering⭐
Kevin Comba
Kevin Comba

Posted on

⭐ Client Side Rendering vs Server Side Rendering⭐

An important difference web developers must know 🔥
⭐ Client Side Rendering⭐
Is about rendering content in the browser mostly using JavaScript. Instead of getting all the content from the HTML document itself, a JS file renders the most of the site.

🟢 Fast website rendering after the initial load.
🟢 Great for web applications.
🔴 Initial load takes more time
⭐ In Server Side Rendering⭐
User makes a request to the webpage, the server prepares the HTML page by fetching the required data from the database and sends to the user’s machine over the internet while the JavaScript page is fetched to control interactivity.

🟢 The initial page load is faster.
🟢 Great for static sites.
🟢 Helps in SEO by allowing Search Engines to crawl the site
🔴 Frequent server requests take time for subsequent pages

Keep growing. Keep learning💪

Top comments (0)