Skip to content

Comment on Experimentally verified: “Why client-side templating is wrong” (2015)

Comments

One premise of this article bothers me right off the bat.

I don't understand why, as an application developer, we wouldn't want to offload some of the computational load to clients instead of our own servers. That is a resource that scales far better with the number of users.

If servers only handled data instead of page rendering and so on, we'd need fewer of them to handle larger loads and also be a lot more robust to getting posted on HN or Reddit, etc.

I don't understand why, as an application developer, we wouldn't want to offload some of the computational load to clients instead of our own servers. That is a resource that scales far better with the number of users.

Because obviously your goal is not to lighten your web servers, but to make your webpage faster to load and hence more appealing.

If offloading to the client is at odds with the page being faster (and at least in the previous years that had been the case with mobile and JS-heavy pages), then you should don't.

And whether this offloading to the client scales better with the number of users is besides the point it -- as you need to please each particular user.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.