4 ms·
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
by dntrkv 5y ago
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.
- webmaven 5y agoWell... improving performance because otherwise your server is being slowed down by the load from SSR? That's still saving money in disguise.
- dntrkv 5y agoNo. 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.
- timw4mail 5y agoI've never had the second scenario feel faster.
- dntrkv 5y agoCool, well the metrics tell a different story.
- webmaven 5y agoThere 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.