The Performance Cost of Server Side Rendered React on Node.js
1–10 of 134 posts
Re: The Performance Cost of Server Side Rendered React on Node.js
#2Re: The Performance Cost of Server Side Rendered React on Node.js
#3I thought the idea was to render it server side just once, then have the client take over for all future requests? In which case it's 10x slow for the first page load, but all future requests are just hitting API endpoints and can be fairly fast?
Re: The Performance Cost of Server Side Rendered React on Node.js
#4I thought the idea was to render it server side just once, then have the client take over for all future requests? In which case it's 10x slow for the first page load, but all future requests are just hitting API endpoints and can be fairly fast?
Also, if you start getting requests faster than you can do the initial render, each subsequent user has to wait in line longer than the one before. Your server-side framework won't even show you how long people waited for a TCP connection.
Re: The Performance Cost of Server Side Rendered React on Node.js
#5Re: The Performance Cost of Server Side Rendered React on Node.js
#6Re: The Performance Cost of Server Side Rendered React on Node.js
#7I thought the idea was to render it server side just once, then have the client take over for all future requests? In which case it's 10x slow for the first page load, but all future requests are just hitting API endpoints and can be fairly fast?
Sure, but every user has to do that initial page load. If all initial page loads are slow and expensive, it affects the user experience and costs money. Also, if you start getting requests faster than you can do the initial render, each subsequent user has to wait in line longer than the one before. Your server-side framework won't even show you how long people waited for a TCP connection.
Re: The Performance Cost of Server Side Rendered React on Node.js
#8Earlier quoted context omitted.
Sure, but every user has to do that initial page load. If all initial page loads are slow and expensive, it affects the user experience and costs money. Also, if you start getting requests faster than you can do the initial render, each subsequent user has to wait in line longer than the one before. Your server-side framework won't even show you how long people waited for a TCP connection.
But they're going to have to wait for the initial page load either way, whether it's rendered server side and sent over or they're shown some static content until its rendered client side?
Re: The Performance Cost of Server Side Rendered React on Node.js
#9Re: The Performance Cost of Server Side Rendered React on Node.js
#10I thought the idea was to render it server side just once, then have the client take over for all future requests? In which case it's 10x slow for the first page load, but all future requests are just hitting API endpoints and can be fairly fast?