logoalt Hacker News

mediumsmart • today at 6:07 PM • 1 reply • view on HN

if you want the site to be fast, don't render it with javascript and take a look at the google lighthouse check for things to improve:

https://pagespeed.web.dev/analysis/https-sprinklz-io/bmc4mv1...


Replies

jacobgkau • today at 10:24 PM

That's a vague and borderline off-topic suggestion, imo. When the problem is too many malicious visitors hammering your server, the amount of time it takes the visitors' browser to run the JavaScript is not the issue; on the contrary, when dealing with this issue, you might as well do more rendering client-side to offload as much work from the server side as possible (hence the Anubis-esque defense of adding random JavaScript work that isn't even necessary to render the real page).