|
|
|
|
|
by flukus
3159 days ago
|
|
1. Because having the web server render html doesn't use appreciably more CPU cycles than encoding the raw data in json anyway. 2. The web server has much more efficient languages available meaning that it's probably far fewer total CPU cycles than rendering on the client. 3. The web server can also cache the results and only render it once for a thousand users, can't do that with client side rendering, so your using far more CPU cycles there. 4. The server knows when the content changes, it can even render the page ahead of time, the client can't. |
|