News for hackers. Stuff that matters.
Re:In spite of an increase in Internet speed, webpage speeds... by ericmcer on Tuesday August 04, 2020 @10:37PM (#24056741)
I mean the logic is pretty straightforward, your servers will never have the computing power of all client devices combined, and the slowest part of any webpage is going to be communication between server & client. If you are writing a web app with such intense JS that people can’t run it that is an indictment of that app, not all client side rendering.
Re:In spite of an increase in Internet speed, webpage speeds... by simonw on Tuesday August 04, 2020 @11:00PM (#24056871)
The slowest part of any modern webpage is the part where the client (usually a mobile phone) has to download 1MB+ of JavaScript, parse it, execute it, use it to fetch more code and then display it to the user.
Re:In spite of an increase in Internet speed, webpage speeds... by goatlover on Tuesday August 04, 2020 @11:49PM (#24057097)
But servers are typically fast at serving up html, which the server isn't rendering, only generating. Very fast these days, particularly with proxies and server caching.
Re:In spite of an increase in Internet speed, webpage speeds... by account42 on Wednesday August 05, 2020 @05:11AM (#24058720)
The flaw in that logic is assuming that the total amount of work being done is the same for both client-side and server-side rendering.
Re:In spite of an increase in Internet speed, webpage speeds... by Legogris on Wednesday August 05, 2020 @01:28AM (#24057533)
Even more-so, it's resources you don't pay for.