News for hackers. Stuff that matters.
Re:I don't care how you web dev; I just need more better web... by kimi on Wednesday July 06, 2022 @12:23AM (#31996689)
> and not giving a toss about performance was indeed easy. Few auxiliary tools were required.

When the internet came through a modem and bandwidth was very expensive, performance was concern #1. So pages were kilobytes, not multi-megabyte monstruosities.

Re:I don't care how you web dev; I just need more better web... by Tade0 on Wednesday July 06, 2022 @06:01AM (#31998825)
> When the internet came through a modem and bandwidth was very expensive,

That effectively ended in the mid 00s. Otherwise we wouldn't have had services like YouTube.

Between those times and around 2012 there was an explosion of script bloat because back then it was more important to have an interactive page than a fast page.

Bandwidth resurfaced as a concern only with the proliferation of mobile devices.

The whole premise of tree shaking, introduced in 2012 was to reduce bloat.

Re:I don't care how you web dev; I just need more better web... by rektide on Wednesday July 06, 2022 @11:18AM (#32002281)
which of the techniques that i listed that are common now dlwere possible then?

we did indeed squeeze a lot out of the code we wrote. and we were very aware of js performance issues- using array.join religiously instead of concatenation was a big one. but most of the modern techniques & concerns simply werent appplicable or possible.

the shift from writing it ourselves to loading dozens or hundreds of modules came quite late, all told. that lead to the explosion of performance tools & techniques.