Comment

Comment by nathan_long

> Off load view rendering to the client to lower server costs.

Another way to lower server costs is to change tools. Eg, Phoenix renders HTML much more efficiently than Rails due to its use of IO lists.

http://nathanmlong.com/2016/11/elixir-and-io-lists-part-2-io...

> User experience tends to be snappier since you aren't always waiting for the server to render your view.

The "Turbolinks" approach of only re-rendering the `<body>` also makes things feel snappy if the server response is fast.

https://changelog.com/ is a site that uses Phoenix + Turbolinks to achieve a snappy user experience with very little JS. The source is at https://github.com/thechangelog/changelog.com

parent nathan_long 8 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton