News for hackers. Stuff that matters.
Re:Is the web getting slower? by wruza on Wednesday September 09, 2020 @06:38AM (#24419561)
This all sounds true, but it breaks down about the fact that bare html and css are too low-level and quirk-rich for a high-level programming under reasonable budgets.

Also, not programmers are guilty of such bloat, but the tools that they use, html css included. There is no compiler that takes an idea / a representation of it and turns into highly compressed, DCE'd, -O3 LTO'ed bundle. There is some progress in this direction, but it is not that great and requires an effort to use.

because Bootstrap told them to do so, they nest as much DOM as possible

Bootstrap also does that for reasons. For reasons that are unclear to bootstrap itself, because these all lie in the inconsistencies, legacy-ness and incompatibilities of the allegedly most compatible platform ever. And when we try to discuss how to extend it (not even replace!), someone brings idealistic arguments about how it should stay as is, because otherwise (again allegedly) they couldn't print a webapp or screenread an html5 platformer game.

Re:Is the web getting slower? by afiori on Wednesday September 09, 2020 @08:10AM (#24420123)
HTML needs an <include> tag to import HTML files (not full documents in general, just to reuse common pieces)
Re:Is the web getting slower? by Kihashi on Wednesday September 09, 2020 @10:04AM (#24421080)
Isn't that roughly what server side includes are? https://en.wikipedia.org/wiki/Server_Side_Includes
Re:Is the web getting slower? by afiori on Tuesday September 15, 2020 @01:47AM (#24478231)
To me not really, we do not use server side includes for JS or CSS, there are use cases where HTML would also profit from client-side imports