3 ms·
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
by ericmcer 6y ago
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.
- simonw 6y agoThe 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.
- goatlover 6y agoBut 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.
- Legogris 6y agoEven more-so, it's resources you don't pay for.
- account42 6y agoThe 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.