Re:Why Not Document.write()?
by Dalewyn on Sunday April 02, 2023 @02:28AM
(#35407753)
You're asking the wrong question.
You should be asking if the Ruby/PHP/Python running on the server can do the conditional rendering cheaper than the JavaShit running in the browser.
Also to answer that question, the answer is: No.
As far as the beancounting is concerned, offload as much of the processing to the client-side and bask yourself in cheaper bills. User needs to wait literal minutes for the page to load? That's none of your concern, they should get a 32-core CPU instead of their 8-core clunker.
You should be asking if the Ruby/PHP/Python running on the server can do the conditional rendering cheaper than the JavaShit running in the browser.
Also to answer that question, the answer is: No.
As far as the beancounting is concerned, offload as much of the processing to the client-side and bask yourself in cheaper bills. User needs to wait literal minutes for the page to load? That's none of your concern, they should get a 32-core CPU instead of their 8-core clunker.