Skip to main content

Command Palette

Search for a command to run...

Do you know what Server Side Rendering (SSR) is?

Published
โ€ข1 min readโ€ขView as Markdown
P

Hey, I'm Prerna. I've just recently started my Web-Development journey. And as I progress in it, I'll post the topics I'll be learning. Come on a Tech Journey with me!!!! ๐ŸŽฏ

1 When your browser makes a request to a website, the server returns a JS bundle with HTML templates, CSS stylesheets, JavaScript files, and other static assets (such as images and fonts..)

2 The JavaScript files received, are used to manipulate the DOM tree, ie- to make the content dynamic in the HTML web pages. This is by default done on the client side, by the browser. Also called Client Side Rendering (CSR)

3 But, when the same set of JavaScript files are used to render HTML web pages, but on the server side, it is known as Server Side Rendering (SSR). The fully rendered HTML pages are sent to the browser in this case.

Advantages of SSR:
๐Ÿ“Œ Faster load times
๐Ÿ“Œ SEO Optimized since search engines can easily crawl and index the fully rendered HTML content

It is most suitable for static applications like news websites, but SSR alone might not be sufficient for real-time applications.

More from this blog

Are you a ๐…๐ซ๐จ๐ง๐ญ๐ž๐ง๐ ๐๐ž๐ฏ๐ž๐ฅ๐จ๐ฉ๐ž๐ซ who wants to create stunning and responsive websites with ease? Then you need to discover ๐“๐š๐ข๐ฅ๐ฐ๐ข๐ง

Tailwind CSS lets you style your elements with simple and intuitive classes that cover every aspect of your ๐ฅ๐š๐ฒ๐จ๐ฎ๐ญ, ๐ญ๐ฒ๐ฉ๐จ๐ ๐ซ๐š๐ฉ๐ก๐ฒ, ๐œ๐จ๐ฅ๐จ๐ซ๐ฌ, ๐š๐ง๐ข๐ฆ๐š๐ญ๐ข๐จ๐ง๐ฌ, and more. No more writing custom CSS or fighting with complex componen...

May 22, 20232 min read

๐—ง๐—ต๐—ฒ ๐—ฒ๐—ฎ๐˜€๐—ถ๐—ฒ๐˜€๐˜ ๐˜„๐—ฎ๐˜† ๐˜๐—ผ ๐˜‚๐—ป๐—ฑ๐—ฒ๐—ฟ๐˜€๐˜๐—ฎ๐—ป๐—ฑ ๐—™๐—ฟ๐—ผ๐—ป๐˜๐—ฒ๐—ป๐—ฑ, ๐—•๐—ฎ๐—ฐ๐—ธ๐—ฒ๐—ป๐—ฑ & ๐—”๐—ฃ๐—œ ๐—ฅ๐—ผ๐—น๐—ฒ ๐ŸŽฏโšก

โœณ Imagine a restaurant ๐Ÿข as a software application ๐Ÿ’ป ๐Ÿ“Œ ๐—™๐—ฟ๐—ผ๐—ป๐˜๐—ฒ๐—ป๐—ฑ: The front end is what the customers see and interact with, such as the menu, ordering system, and table layout. ๐Ÿ“Œ ๐—•๐—ฎ๐—ฐ๐—ธ๐—ฒ๐—ป๐—ฑ The back end is the kitchen and all the pr...

May 20, 20231 min read

Prerna's blog

3 posts