what makes the web slow

General discussion about web technology.
Post Reply
morganism
Senior Member
Posts: 125
Joined: Tue Nov 26, 2013 9:44 pm

what makes the web slow

Post by morganism » Wed Dec 23, 2020 10:41 pm

"We rendered a million web pages to find out what makes the web slow"

[unnecessary link removed - barbaz]

https://catchjs.com/Blog/PerformanceInTheWild#top-libs

"We haven’t uncovered any new optimization tricks here, but the analysis does give an idea of the scale of the impact one can expect from various optimizations. The following claims seem to have good empirical backing:

Make as few requests as you can. Number of requests matters more than number of kilobytes transferred.
For the request you have to make, do them over HTTP2 or greater if you can.
Strive to avoid render blocking requests when you can, prefer async loading when possible.

Yes, good old jQuery is at the top. JQuery was first released in 2006, which is 14 years ago in human years, but much longer in JavaScript years
Funnily enough, 2.2% of the websites threw an error because JQuery was not loaded.
Last edited by barbaz on Thu Dec 24, 2020 12:22 am, edited 3 times in total.
Reason: Remove unnecessary link to repost of content from other link; add url tags to remaining link
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0

barbaz
Senior Member
Posts: 9779
Joined: Sat Aug 03, 2013 5:45 pm

Re: what makes the web slow

Post by barbaz » Thu Dec 24, 2020 12:25 am

I wonder what this analysis would look like for a browser that blocks remote jQuery and instead loads it locally, e.g. by using Decentraleyes or similar?
*Always* check the changelogs BEFORE updating that important software!
-

Post Reply