Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nobody teaches that.

You don't offload things to the client in order to save money. You offload things when it will improve performance. Most of the processing power and bandwidth will still be incurred by the server, just at a different time in the lifecycle of the app.



Well... improving performance because otherwise your server is being slowed down by the load from SSR?

That's still saving money in disguise.


No. That's not it at all.

If your page takes 3 seconds to show anything at all, your bounce rate will be stupid high.

If your page loads nearly instantaneously with placeholders, and then the content loads in over the span of 4 seconds. Your bounce rate will be significantly better.

Even though your page loads slower, it will be perceived as faster resulting in less users navigating away before your page starts rendering.

Perceived performance is only one factor but there are many other reasons why you offload things to the client.


I've never had the second scenario feel faster.


Cool, well the metrics tell a different story.


There is a difference between 'feels faster' and 'gets users to stick around until the page finishes loading'.

The latter is an observation that can be corroborated by analytics.

The former is more of a plausible 'just so' story that may or may not be a valid/good/falsifiable/defensible explanation for the latter.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: