Live data from Hacker News

The average size of Web pages is now the average size of a Doom install

mobiforge.com

21–30 of 467 posts

Re: The average size of Web pages is now the average size of a Doom install

#21
post #9

The average Web page now does more than the average Doom install, I don't see the relevance of this. Although I get really annoyed when I visit a blog post whose page is 100x larger than Dostoevsky's novels in .txt format. On my blog ( https://pljns.com/blog/ ), JQuery and genericons are often my largest file transfers, but I still clock under 500kb.

Once you remove Ad Tech how much does the average we page actually do?

Re: The average size of Web pages is now the average size of a Doom install

#22

Oh, you just want to add a class to the element? \ adds whole jQuery\ That's what's wrong with the web. Oh, and you need a loop? \ adds underscore.js\

jQuery is not that large and very likely to be cached an a users machine. So, it's IMO disingenuous to harp on it.

If your playing with larger and less 'standard' library's then that's a different story.

Re: The average size of Web pages is now the average size of a Doom install

#23

Oh, you just want to add a class to the element? \ adds whole jQuery\ That's what's wrong with the web. Oh, and you need a loop? \ adds underscore.js\

It would help if the basic javascript api's were even vaguely useful

I recently tried to force myself not to use any libraries for a simple site. After a while I realised I had so much re-invention of stuff (AJAX in particular is madness without a library) that I ended up adding Zepto

With all the crap they're adding in ES6 you would have hoped they would add an ajax function at least

Re: The average size of Web pages is now the average size of a Doom install

#24
I just watched https://www.youtube.com/watch?v=Q4dYwEyjZcY this video about the early HTML standardization process, and it seems to explain all the ills of HTML.

So indeed, there is a huge optimization opportunity of having a stricter error model.

Also, I'm really wondering how much battery could be saved when surfing such pages.

Also I'm sure there is a lot of potential going in the pre-parsed document model. But that's a next level kind of engineering I guess.

Re: The average size of Web pages is now the average size of a Doom install

#25
Before everyone jumps onto the JQuery/Bootstrap/etc sucks bandwagon, just a reminder that the minified jquery from cdnjs is 84.1kb. Bootstrap is 43.1kb.

If you want your page to load fast, the overall "size" of the page shouldn't be at the top of your list of concerns. Try reducing the # of requests, first. Combine and minify your javascript, use image sprites, etc.

Re: The average size of Web pages is now the average size of a Doom install

#26

Oh, you just want to add a class to the element? \ adds whole jQuery\ That's what's wrong with the web. Oh, and you need a loop? \ adds underscore.js\

A lack of skills, a low barrier to entry and low budgets are causing this.

I hoped with page performance becoming a ranking factor, this would change, if only for a tiny bit. But I see very slow brand websites still ranked higher then the highly optimized indie website, so that didn't work.

Re: The average size of Web pages is now the average size of a Doom install

#27

In the late 00s I remember turning on an old computer with a 650 MHz Athlon CPU and being surprised that web browsing performance in Firefox wasn't bad. Now if I try that with a 1 GHz Pentium 3, performance is absolutely horrible. Is this why?

This, and Javascript, and browser bloat.

Re: The average size of Web pages is now the average size of a Doom install

#28
post #22

Oh, you just want to add a class to the element? \ adds whole jQuery\ That's what's wrong with the web. Oh, and you need a loop? \ adds underscore.js\

jQuery is not that large and very likely to be cached an a users machine. So, it's IMO disingenuous to harp on it. If your playing with larger and less 'standard' library's then that's a different story.

There are approximately 5 million different CDNs hosting different versions of jQuery. Cache hits are actually quite low.

Re: The average size of Web pages is now the average size of a Doom install

#29

I'm skeptical that developers talking to each other about how bad web bloat is will change anything. They will still face the same incentives in terms of ad revenue, costs of optimization, etc. Here's a random idea that might have more potential: create an adblocker browser plugin that also colors URLs based on how slow they are expected to load, e.g., smoothly from blue to red. The scores could be centrally calculat…

I also like how Opera now allows you to benchmark websites with and without ads. I think other browsers should expand on that idea (benchmarking sites, and not just for ads).

Give some kind of reminder to both users and developers about how slow their sites are. Those with the slowest websites probably won't like it too much initially, but it's going to be better for all of us in the long term.

http://www.opera.com/blogs/desktop/2016/03/native-ad-blockin...

Re: The average size of Web pages is now the average size of a Doom install

#30

Before everyone jumps onto the JQuery/Bootstrap/etc sucks bandwagon, just a reminder that the minified jquery from cdnjs is 84.1kb. Bootstrap is 43.1kb. If you want your page to load fast, the overall "size" of the page shouldn't be at the top of your list of concerns. Try reducing the # of requests, first. Combine and minify your javascript, use image sprites, etc.

or use HTTP2 which should make the number of requests largely irrelevant.
Post reply on HN