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.
The average size of Web pages is now the average size of a Doom install
61–70 of 467 posts
Re: The average size of Web pages is now the average size of a Doom install
#62Interesting comparison, if a bit arbitrary. It raises a couple of questions though. 1) How do the numbers come out when you exclude images? It's valid and good to know the total sizes, including images, but that can hide huge discrepancies in the experienced performance of a site. For example, a page with 150KB of HTML/CSS/JS and a single 2.1MB hero image can feel very different from a page with 2MB of HTML/CSS/JS an…
The speed index was invented for benchmarking this: https://sites.google.com/a/webpagetest.org/docs/using-webpag...
Re: The average size of Web pages is now the average size of a Doom install
#63The Website Obesity Crisis
http://idlewords.com/talks/website_obesity.htm
Here’s the video of the talk if you prefer to hear him speak: https://vimeo.com/147806338
Re: The average size of Web pages is now the average size of a Doom install
#64https://binarypassion.net/digital-decadence-6ea59251d64d
and the video it refers to https://vimeo.com/147806338
Re: The average size of Web pages is now the average size of a Doom install
#65Earlier quoted context omitted.
I would say that a possible solution is also to better rank websites that mention the checksums of their external resources and make web browsers keep them in cache much longer... if pretty much every website uses jQuery, perhaps we should ship jQuery with the web browser?
Common libraries and frameworks are usually loaded from a CDN. These should stay in the browser's cache for some time.
Re: The average size of Web pages is now the average size of a Doom install
#66Oh, 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\
Array.forEach doesn't work in IE8 or below.
Fetch API for ajax isn't in any version of IE or Safari, or any mobile browser apart from Chrome for Android.
And so on.
It's not so much that front end devs are lazy, but more a case that building a set of polyfills for each and every browser support problem is actually hard. "just use jQuery" gets around the problem. I think most developers want to write better code, but most projects don't have the development bandwidth for them to do things better.
Re: The average size of Web pages is now the average size of a Doom install
#67Oh, 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\
Re: The average size of Web pages is now the average size of a Doom install
#68Earlier quoted context omitted.
I would say that a possible solution is also to better rank websites that mention the checksums of their external resources and make web browsers keep them in cache much longer... if pretty much every website uses jQuery, perhaps we should ship jQuery with the web browser?
Common libraries and frameworks are usually loaded from a CDN. These should stay in the browser's cache for some time.
Re: The average size of Web pages is now the average size of a Doom install
#69There's a reason that the economics of web development mostly work and the economics of games development mostly do not.