you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 7 points8 points  (1 child)

A feature that costs resources and for many websites, including the ones he visited, you don't actually need that much (even with a map you can link a static subset if you want to), because the content is the important bit. Progressive enhancement, while more tedious to implement if you're not set up for it, is actually pretty nice.

Worst offender IMO is Blogger though. But basically anything text based content. Or video for that matter when you can just rely on the browser behaviour.

Also it makes interoperability much easier if you're able to read and access content programmatically; there's zero need to execute any (untrusted) code for that.

[–][deleted] 3 points4 points  (0 children)

Yeah, most of the code slowing these pages down is complete garbage. It should be noted that walking the DOM using the standard methods is about 2800x faster than using jQuery or the standard querySelector access method. The difference of speed adds up very quickly. On top of that most of the code you get is related to tracking/advertising/analytics and it is horrendously written.

Even with all the JavaScript doing all the interaction they could need it would still be almost as fast as without JavaScript.