Hacker News new | ask | show | jobs
by hcarvalhoalves 1403 days ago
This requires JavaScript to dynamically serve HTML. So this wastes everybody’s CPU for a deterministic computation that could be served directly.

I’m not sure what’s the use case for this, but for static content seems wasteful and a bad idea in general.

1 comments

The amount of CPU waste would be negligible.
As someone who does a fair share of browsing on Tor Browser's Safest mode (JS disabled) i entirely disagree with this point. Most use of JS makes my (old) computer really slow and usually leaks memory in some way. This is true on Firefox, Chromium, and all derivatives.

Yes the performance impact of a single "alert()" when i open the page is negligible. The performance impact of parsing Markdown and rendering it as HTML nodes is definitely non-negligible.

I love the idea to support more markdown formats natively for the web (eg. markdown), but i hate client-side scripting shenanigans that don't respect me as a user without the fancy latest iphone. If only some browsers were concerned about emerging protocols/formats & UX instead of increasingly-useless (except for tracking purposes) JS APIs...

Why do you use TOR and have JS disabled?
It stops being negligible if the page gets popular.
No, it can still be neglected if the page gets popular. Neither the author nor any of the readers get any noticeable effect no matter how popular the page gets.