Re:Will serving real HTML content make a website faster?
by Scarbutt on Wednesday September 21, 2022 @10:55PM
(#32934334)
Most server side languages and/or frameworks will be written in faster languages than Javascript.
Lots(most?)of server side apps are python, ruby, php or javascript.
Re:Will serving real HTML content make a website faster?
by _gabe_ on Thursday September 22, 2022 @08:27AM
(#32937918)
In the Stack Overflow survey it looks like the top 8 frameworks are all JS, C#,and Java. Flask, Django, Laravel and RoR start coming in after all these frameworks. So it looks like most server side apps are either JS or something faster like C# or Java.
Also this is if you check professionals. It's pretty similar for all respondents, but Flask and Django rise above spring and ASP.NET, although ASP.NET Core is still above those.
https://insights.stackoverflow.com/survey/2021#section-most-...
So the benefits of server side generation is no need to deserialize the code that generates the page and locality to the data. I'm guessing these two things are the biggest contributors to the speed ups.
I guess "server side rendering" is a bit of a misnomer, since you're not getting a rendered image, but rather a functional web page. It's possible I've misunderstood the whole SPA vs server side rendering arguments as well and my entire argument is invalid ¯\_(ツ)_/¯