News for hackers. Stuff that matters.
Re:The Cost of JavaScript by andrewstuart2 on Wednesday November 15, 2017 @03:57PM (#15707678)
> I think most sites can be broadly classified as (1) "relatively static" such as hackernews itself

My entire job experience would disagree. I have yet to work on a static content site. When I do, you can be sure I'll use hugo or some static site generator, but every job I've had so far was to build sites that act on user-specific data that changes frequently.

Re:The Cost of JavaScript by bo1024 on Wednesday November 15, 2017 @04:10PM (#15707837)
First, I want to clarify: You and I may be thinking of "static" somewhat differently (maybe I misused the term). I'm not thinking of e.g. HN as static in the sense of unchanging over time, actually it constantly changes in response to user interactions. But when I personally visit a page on HN, the page I receive mostly "static" in the sense of essentially serving me a set of text, not responding dynamically to my actions (except a little bit in the case of HN).

Second, fair enough with regards to your work experience, but for me, most sites I visit are just serving text/images/video, not interactive or barely interactive.

Re:The Cost of JavaScript by pjmlp on Thursday November 16, 2017 @02:52AM (#15710869)
That is where server side rendering comes into play.

Most JavaScript I write, just boils down to fancy form validation or using something like Highcharts.