Why? It’s not like they wear and tear?
Why? It’s not like they wear and tear?
Unless you're building at great scale, it's such a negligible difference that it really shouldn't be part of your decision making process, IMHO.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching
the difference between constructing a string of JSON and a string of HTML is a round off error when compared with network connection costs and data store accesses, etc.
Also, SSR'd pages can be cached too.
That greatly depends how you designed your architecture and if you have just a simple webpage or a sophisticated webapp displaying data in various ways.
My main app is designed to work mainly offline, with bursts of data transfer. All the state is local. Sending html from the server would mean in my case, the server would need to know and keep track of all the user states and data.
You were maybe thinking of processing once and then push it to thousands of clients? Those scenarios exists, but are the exception and not the topic here.
More like, they are the rule.
But we don't need complicated frameworks on the server, keeping track of changes in a shadow DOM and updating the real DOM afterwards.
The server will likely just use some html templates in which it will replace some variables with strings and numbers. Easy peasy, both for the server and for the developer.