News for hackers. Stuff that matters.
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.

Re:Why Not Document.write()? by xigoi on Sunday April 02, 2023 @04:58AM (#35408554)
Don't forget to add a cryptocurrency miner so you can make some money while their CPU is struggling to load the page.
Re:Why Not Document.write()? by xg15 on Sunday April 02, 2023 @05:29PM (#35415450)
Congrats on your convincing use of sarcasm!