SlideShare a Scribd company logo
Why Use Server Side Rendering To Boost Performance and
User Experience?
Why Use Server Side Rendering To Boost Performance and
User Experience?
Server Side Rendering (SSR) took a backseat when dynamic JavaScript frontends built in AngularJS went mainstream. Node.js
brought JavaScript under the realm of backend development, giving rise to isomorphic coding. AngularJS(v1.X) did not
support server side rendering. When React and Angular (v2.0+) came along with first class support for server side rendering
and developers realized its full potential, the dynamics of isomorphic JavaScript coding began to fall away from web
browsers to Node servers. JavaScript developers realized server side scripting results in better performance and businesses
looking to boost their customer engagement followed the suite.
Before digging into how server side rendering improves customer experience to boost engagement and why use should
implement it, let’s see how server side rendering and client-side rendering work in real world scenarios. I will introduce the
concept of client-side rendering which happens in users’ web browsers. Then I will move to explain the concept of server
side rendering and how it is better for business as well as users.
Let’s see what happens when a user hit URL in the web browser
Every web application has two parts: markups and logic. Browsers are champions at rendering markups. In a LAMP stack web
app, the logic is in PHP, which the browser can’t render readily and have to rely on an Apache server to render. However,
when we talk about isomorphic JavaScript coding in MEAN stack and MERN stack, the browser can handily render logic in
addition to markup and application can go about without the need of server side rendering. In case of pure JavaScript
applications, SSR is more of a luxury than need.
Why Use Server Side Rendering To Boost Performance and
User Experience?
How server side rendering compares to client-side rendering when a person requests the site:
Client-side Rendering Server Side Rendering
Server pull HTML files with links to JavaScript Server-sends “ready to render” HTML files
Browser downloads HTML Browser displays a non-interactive page
Browser downloads JavaScript Browser downloads JavaScript
Browser executes framework Browser executes framework
Page loads completely Page become interactive
If you look at the table above, the principal difference between the two is this that in SSR, the requesting person gets a
glimpse of the page without any delay. While in CSR, the browser has to download JavaScript and html and execute
framework before it could display the page. Therefore, the visitor gets a better user experience with server side scripting.
Benefits of Server Side Rendering
❑ Server Side Rendering Boost User Engagement
Server side rendering has been around as long as web development. In modern JavaScript frameworks, it solves newer,
modern problems that we did not realize we had. Any shift in technology brings fresh challenges and the shift to client-
side rendering with AngularJS wasn’t any different. SSR struck no full-stack JavaScript developer although a few
developers moving from LAMP technologies felt homesick without SSR. Most developers took CSR in AngularJS as the
future of web development because nobody wanted to rerun into the hassles where the entire web page reloads every
time something is changed in the View.
Benefits of Server Side Rendering
❑ Server Side Rendering Boost User Engagement
In fact, when Angular and React reintroduced server side scripting, developers criticized them for being overzealous.
Soon dynamic front-ends, interactive content, and smooth mobile app-like user experiences became the standard, but
they introduced unnecessary complexities, causing overfed client-side executions with empty loading screens and
further performance bottlenecks. That wait time to load a CSR page to SSR page may be milliseconds on a decent
internet connect, but it is noticeable enough to look for a less-limiting solution.
“A client running a news portal was experiencing huge bounce rate on his website. This was taking a toll on his Google
AdSense revenue. The website was developed in AngularJS. Because of client-side rendering the browser was loading
an empty page, which was raising false alarm that the website is not working, making visitors leave the website the very
moment.
AngularJS does not support server-side rendering. We upgraded the underlying technology to React and implemented
server-side rendering in order to do away with the “empty page” problem. The redesigned website in React brought the
bounce rate under the safe limits and inspired client to bring SSR in all his applications.”
Benefits of Server Side Rendering
❑ Better Performance for Page Visitors
Not every device is same in terms of hardware capabilities or has latest software. A page rendering on the client side
relies too much on device’s hardware capability while rendering. A sub-capable hardware may fail to render the entire
page in optimal time, thus, hampering user experience. The bounce rate of a page is directly proportional to its load
time. Higher bounce is one of search engine ranking factors and may make Google slightly less prefer your website
owing to extended load time. As a result, organic traffic to your website will fall, which will ultimately affect engagement
on your website.
Benefits of Server Side Rendering
❑ Faster Loading of Page
When I drew comparison between CSR and SSR; I mentioned in SSR, the server sends “ready to render” HTML files to
instantly load your website on the browser. In CSR, the browser has to download HTML and JavaScript files and execute
the framework before it could display the page. In the meanwhile, the user has to deal with a blank page, which is a bad
indicator for user experience.
Although the final page will take the same amount of time to load and user only gets a glimpse of the page initially, server
side rendering has the psychological edge from a user’s point of view. A semi-loaded page will look more compelling than
a blank page to users.
❑ Search Engine Optimization
JavaScript front-ends are incomprehensible to Search engines crawlers. The crawler will return a blank page on
encountering such a page on its journey to crawl new pages. Google, of course, will not index a page, which is blank to its
crawler.
Lack of search engine optimization is a huge drawback of client side rendering. server side rendering of JavaScript returns
a pre-rendered HTML page for ready-display to the browser. The crawlers can crawl HTML as would any other web
application. For businesses invested into digital marketing and SEO, server side rendering makes a lot more sense than
client-side rendering.
Server Side Rendering with TOPS Infosolutions
In fall 2015, our React developers were attempting to rework an application originally built in AngularJS. We invested many
hours of efforts to heighten the performance but the client insisted that the application was doing more or less the same in
AngularJS. React was still a newer technology and we were quite skeptical about how server side rendering will work out. A
few migrations and some changes in business logic and we were ready for the demo. The application out performed the
client expectations. He insisted on going SSR way for all his future application.
Server Side Rendering is a luxury you can deliver in the form of a refined experience to your users. After all, the cut-throat
competition doesn’t allow for anything that is any short of best.
Thank You
TOPS Infosolutions
https://www.topsinfosolutions.com/
+1 408-600-0534
contact@topsinfosolutions.com

More Related Content

PPTX
Benefits of developing a Single Page Web Applications using AngularJS
PPTX
Building Single-page Web Applications with AngularJS @ TechCamp Sai Gon 2014
PPTX
Pros and Cons of developing a Thick Clientside App
PDF
SUGMEA - Sitecore JSS and Performance Optimization - Alex Shyba - Altudo
PPTX
Home management WebApp presentation
PDF
From MVC to React
DOC
venu exp resume
PPTX
Integration of Drupal websites and Android applications - Girish Gupta
Benefits of developing a Single Page Web Applications using AngularJS
Building Single-page Web Applications with AngularJS @ TechCamp Sai Gon 2014
Pros and Cons of developing a Thick Clientside App
SUGMEA - Sitecore JSS and Performance Optimization - Alex Shyba - Altudo
Home management WebApp presentation
From MVC to React
venu exp resume
Integration of Drupal websites and Android applications - Girish Gupta

What's hot (19)

PDF
An introduction to AngularJS
PPTX
Fastlix
PDF
Angularjs tutorial
PPTX
Angularjs overview
PDF
Progressive Web Apps are here!
PPTX
New microsoft office power point presentation
PDF
Conductor-Webinar-Google-Mobile-Algorithm-Change
PPTX
Angular js
PPTX
Add ins share-point provider hosted
PPTX
Progressive Web-App (PWA)
PDF
How To Speed-up your Webpage Loading Time?
PPTX
Introduction to Android Programming
PPTX
Ecommerce Mini Project / Group Project Design
PDF
Angular vs React : A Detailed Comparision
PPTX
Trusting an API Spec
PPTX
PWAs overview
PPTX
Angularjs PPT
PDF
DevelopmentIntegrationGuides-Warbler
PPTX
Go live with angular 4
An introduction to AngularJS
Fastlix
Angularjs tutorial
Angularjs overview
Progressive Web Apps are here!
New microsoft office power point presentation
Conductor-Webinar-Google-Mobile-Algorithm-Change
Angular js
Add ins share-point provider hosted
Progressive Web-App (PWA)
How To Speed-up your Webpage Loading Time?
Introduction to Android Programming
Ecommerce Mini Project / Group Project Design
Angular vs React : A Detailed Comparision
Trusting an API Spec
PWAs overview
Angularjs PPT
DevelopmentIntegrationGuides-Warbler
Go live with angular 4
Ad

Similar to Why Use Server Side Rendering To Boost Performance and User Experience? (20)

PDF
Client-side Rendering Vs. Server-side Rendering Vs. Pre-Rendering for Web App...
PDF
Advantages of Server-side Rendering (SSR) in Vue.js Development
PPTX
Clientside vs Serverside - SEO
PPTX
Vitali zaidman Do You Need Server Side Rendering? What Are The Alternatives?
PPTX
Javascript & SEO 2019
PPTX
SearchLove Boston 2018 - Bartosz Goralewicz - JavaScript: Looking Past the ...
PDF
How To Use Server-Side Rendering with Nuxt.js
PDF
Migration to a JS Framework without Losing Your Rankings and Mind
PDF
JavaScript Doesn't Have to be Evil | Digital Olympus
DOCX
server side rendering with angular JS.docx
PPTX
Server VS Client side rendering IN React JS
PPTX
SSR with React - Connecting Next.js with WordPress
PDF
Client vs Server Templating: Speed up initial load for SPA with Angular as an...
PDF
Server-Side Rendering (SSR) with Angular Universal
PPTX
Client vs Server Components in Next.js.pptx
PDF
What is Server-side Rendering? How to Render Your React App on the Server-sid...
PDF
Client Vs. Server Rendering
PPTX
SEARCH Y : Benjamin Bussière - Javascript and seo misconceptions, misunders...
PDF
Deep crawl the chaotic landscape of JavaScript
PDF
NextJS - Online Summit for Frontend Developers September 2020
Client-side Rendering Vs. Server-side Rendering Vs. Pre-Rendering for Web App...
Advantages of Server-side Rendering (SSR) in Vue.js Development
Clientside vs Serverside - SEO
Vitali zaidman Do You Need Server Side Rendering? What Are The Alternatives?
Javascript & SEO 2019
SearchLove Boston 2018 - Bartosz Goralewicz - JavaScript: Looking Past the ...
How To Use Server-Side Rendering with Nuxt.js
Migration to a JS Framework without Losing Your Rankings and Mind
JavaScript Doesn't Have to be Evil | Digital Olympus
server side rendering with angular JS.docx
Server VS Client side rendering IN React JS
SSR with React - Connecting Next.js with WordPress
Client vs Server Templating: Speed up initial load for SPA with Angular as an...
Server-Side Rendering (SSR) with Angular Universal
Client vs Server Components in Next.js.pptx
What is Server-side Rendering? How to Render Your React App on the Server-sid...
Client Vs. Server Rendering
SEARCH Y : Benjamin Bussière - Javascript and seo misconceptions, misunders...
Deep crawl the chaotic landscape of JavaScript
NextJS - Online Summit for Frontend Developers September 2020
Ad

Recently uploaded (20)

PPTX
How After-School Art Classes Enhance Social Skills.pptx
PPTX
Social Media Marketing Services in USA | Boost Your Brand
PDF
Green minimalist professional Business Proposal Presentation.pdf
PDF
Digital Marketing Skills in Demand for 2025.pdf
PPTX
The Rise of Work-from-Home Internships.pptx
PPT
From India to the World How We Export Eco-Friendly Holi Colours Globally.ppt
PDF
2025 Electrician Marketing Trends Report | Destiny Marketing Solutions
PDF
Expert Medical Coding Services for Faster Reimbursements.pdf
PDF
Best Private Bba Colleges | Galgotias University
PPTX
Zulu Airline Systems – Innovative Airline Planning Solutions
PDF
Why Corporate Relocations Need Professional Packers and Movers.pdf
PDF
Legacy Application Modernisation Services.pdf
PDF
Investhill_Report OCD (2007-2024)_2025-1.pdf
PDF
Why Should Call Centers Use Inbound Call Tracking in 2025.pdf
PDF
5 Best Sites to Buy Snapchat Accounts (Aged & Pva).pdf
PPTX
Expert Tree Pruning & Maintenance Services in Sydney
PDF
How Firewalls Stop Cyber Attacks Before They Happen?
PPTX
Unlocking-Business-Potential-Power-BI-Development-Services.pptx
PDF
Understanding LA's Zero Waste Initiative
PDF
Digital marketing strategy slides .pdf
How After-School Art Classes Enhance Social Skills.pptx
Social Media Marketing Services in USA | Boost Your Brand
Green minimalist professional Business Proposal Presentation.pdf
Digital Marketing Skills in Demand for 2025.pdf
The Rise of Work-from-Home Internships.pptx
From India to the World How We Export Eco-Friendly Holi Colours Globally.ppt
2025 Electrician Marketing Trends Report | Destiny Marketing Solutions
Expert Medical Coding Services for Faster Reimbursements.pdf
Best Private Bba Colleges | Galgotias University
Zulu Airline Systems – Innovative Airline Planning Solutions
Why Corporate Relocations Need Professional Packers and Movers.pdf
Legacy Application Modernisation Services.pdf
Investhill_Report OCD (2007-2024)_2025-1.pdf
Why Should Call Centers Use Inbound Call Tracking in 2025.pdf
5 Best Sites to Buy Snapchat Accounts (Aged & Pva).pdf
Expert Tree Pruning & Maintenance Services in Sydney
How Firewalls Stop Cyber Attacks Before They Happen?
Unlocking-Business-Potential-Power-BI-Development-Services.pptx
Understanding LA's Zero Waste Initiative
Digital marketing strategy slides .pdf

Why Use Server Side Rendering To Boost Performance and User Experience?

  • 1. Why Use Server Side Rendering To Boost Performance and User Experience?
  • 2. Why Use Server Side Rendering To Boost Performance and User Experience? Server Side Rendering (SSR) took a backseat when dynamic JavaScript frontends built in AngularJS went mainstream. Node.js brought JavaScript under the realm of backend development, giving rise to isomorphic coding. AngularJS(v1.X) did not support server side rendering. When React and Angular (v2.0+) came along with first class support for server side rendering and developers realized its full potential, the dynamics of isomorphic JavaScript coding began to fall away from web browsers to Node servers. JavaScript developers realized server side scripting results in better performance and businesses looking to boost their customer engagement followed the suite. Before digging into how server side rendering improves customer experience to boost engagement and why use should implement it, let’s see how server side rendering and client-side rendering work in real world scenarios. I will introduce the concept of client-side rendering which happens in users’ web browsers. Then I will move to explain the concept of server side rendering and how it is better for business as well as users. Let’s see what happens when a user hit URL in the web browser Every web application has two parts: markups and logic. Browsers are champions at rendering markups. In a LAMP stack web app, the logic is in PHP, which the browser can’t render readily and have to rely on an Apache server to render. However, when we talk about isomorphic JavaScript coding in MEAN stack and MERN stack, the browser can handily render logic in addition to markup and application can go about without the need of server side rendering. In case of pure JavaScript applications, SSR is more of a luxury than need.
  • 3. Why Use Server Side Rendering To Boost Performance and User Experience? How server side rendering compares to client-side rendering when a person requests the site: Client-side Rendering Server Side Rendering Server pull HTML files with links to JavaScript Server-sends “ready to render” HTML files Browser downloads HTML Browser displays a non-interactive page Browser downloads JavaScript Browser downloads JavaScript Browser executes framework Browser executes framework Page loads completely Page become interactive If you look at the table above, the principal difference between the two is this that in SSR, the requesting person gets a glimpse of the page without any delay. While in CSR, the browser has to download JavaScript and html and execute framework before it could display the page. Therefore, the visitor gets a better user experience with server side scripting.
  • 4. Benefits of Server Side Rendering ❑ Server Side Rendering Boost User Engagement Server side rendering has been around as long as web development. In modern JavaScript frameworks, it solves newer, modern problems that we did not realize we had. Any shift in technology brings fresh challenges and the shift to client- side rendering with AngularJS wasn’t any different. SSR struck no full-stack JavaScript developer although a few developers moving from LAMP technologies felt homesick without SSR. Most developers took CSR in AngularJS as the future of web development because nobody wanted to rerun into the hassles where the entire web page reloads every time something is changed in the View.
  • 5. Benefits of Server Side Rendering ❑ Server Side Rendering Boost User Engagement In fact, when Angular and React reintroduced server side scripting, developers criticized them for being overzealous. Soon dynamic front-ends, interactive content, and smooth mobile app-like user experiences became the standard, but they introduced unnecessary complexities, causing overfed client-side executions with empty loading screens and further performance bottlenecks. That wait time to load a CSR page to SSR page may be milliseconds on a decent internet connect, but it is noticeable enough to look for a less-limiting solution. “A client running a news portal was experiencing huge bounce rate on his website. This was taking a toll on his Google AdSense revenue. The website was developed in AngularJS. Because of client-side rendering the browser was loading an empty page, which was raising false alarm that the website is not working, making visitors leave the website the very moment. AngularJS does not support server-side rendering. We upgraded the underlying technology to React and implemented server-side rendering in order to do away with the “empty page” problem. The redesigned website in React brought the bounce rate under the safe limits and inspired client to bring SSR in all his applications.”
  • 6. Benefits of Server Side Rendering ❑ Better Performance for Page Visitors Not every device is same in terms of hardware capabilities or has latest software. A page rendering on the client side relies too much on device’s hardware capability while rendering. A sub-capable hardware may fail to render the entire page in optimal time, thus, hampering user experience. The bounce rate of a page is directly proportional to its load time. Higher bounce is one of search engine ranking factors and may make Google slightly less prefer your website owing to extended load time. As a result, organic traffic to your website will fall, which will ultimately affect engagement on your website.
  • 7. Benefits of Server Side Rendering ❑ Faster Loading of Page When I drew comparison between CSR and SSR; I mentioned in SSR, the server sends “ready to render” HTML files to instantly load your website on the browser. In CSR, the browser has to download HTML and JavaScript files and execute the framework before it could display the page. In the meanwhile, the user has to deal with a blank page, which is a bad indicator for user experience. Although the final page will take the same amount of time to load and user only gets a glimpse of the page initially, server side rendering has the psychological edge from a user’s point of view. A semi-loaded page will look more compelling than a blank page to users. ❑ Search Engine Optimization JavaScript front-ends are incomprehensible to Search engines crawlers. The crawler will return a blank page on encountering such a page on its journey to crawl new pages. Google, of course, will not index a page, which is blank to its crawler. Lack of search engine optimization is a huge drawback of client side rendering. server side rendering of JavaScript returns a pre-rendered HTML page for ready-display to the browser. The crawlers can crawl HTML as would any other web application. For businesses invested into digital marketing and SEO, server side rendering makes a lot more sense than client-side rendering.
  • 8. Server Side Rendering with TOPS Infosolutions In fall 2015, our React developers were attempting to rework an application originally built in AngularJS. We invested many hours of efforts to heighten the performance but the client insisted that the application was doing more or less the same in AngularJS. React was still a newer technology and we were quite skeptical about how server side rendering will work out. A few migrations and some changes in business logic and we were ready for the demo. The application out performed the client expectations. He insisted on going SSR way for all his future application. Server Side Rendering is a luxury you can deliver in the form of a refined experience to your users. After all, the cut-throat competition doesn’t allow for anything that is any short of best.