Bonum Certa Men Certa

Techrights Coding Projects: Making the Web Light Again

A boatload of bytes that serve no purpose at all (99% of all the traffic sent from some Web sites)

Very bloated boat



Summary: Ongoing technical projects that improve access to information and better organise credible information preceded by a depressing overview regarding the health of the Web (it's unbelievably bloated)

OVER the past few months (since spring) we've been working hard on coding automation and improving the back end in various ways. More than 100 hours were spent on this and it puts us in a better position to grow in the long run and also improve uptime. Last year we left behind most US/USPTO coverage to better focus on the European Patent Office (EPO) and GNU/Linux -- a subject neglected here for nearly half a decade (more so after we had begun coverage of EPO scandals).



As readers may have noticed, in recent months we were able to produce more daily links (and more per day). About a month ago we reduced the volume of political coverage in these links. Journalism is waning and the quality of reporting -- not to mention sites -- is rapidly declining.

"As readers may have noticed, in recent months we were able to produce more daily links (and more per day)."To quote one of our guys, "looking at the insides of today's web sites has been one of the most depressing things I have experienced in recent decades. I underestimated the cruft in an earlier message. Probably 95% of the bytes transmitted between client and server have nothing to do with content. That's a truly rotten infrastructure upon which society is tottering."

We typically gather and curate news using RSS feed readers. These keep sites light and tidy. They help us survey the news without wrestling with clickbait, ads, and spam. It's the only way to keep up with quality while leaving out cruft and FUD (and Microsoft's googlebombing). A huge amount of effort goes into this and it takes a lot of time. It's all done manually.

"We typically gather and curate news using RSS feed readers. These keep sites light and tidy. They help us survey the news without wrestling with clickbait, ads, and spam.""I've been letting wget below run while I am mostly outside painting part of the house," said that guy, having chosen to survey/assess the above-stated problem. "It turns out that the idea that 95% of what web severs send is crap was too optimistic. I spidered the latest URL from each one of the unique sites sent in the links from January through July and measured the raw size for the individual pages and their prerequisites. Each article, including any duds and 404 messages, averaged 42 objects [3] per article. The median, however, was 22 objects. Many had hundreds of objects, not counting cookies or scripts that call in scripts.

"I measured disk space for each article, then I ran lynx over the same URLs to get the approximate size of the content. If one counts everything as content then the lynx output is on average 1% the size of the raw material. If I estimate that only 75% or 50% of the text rendered is actual content then that number obviously goes down proportionally.

"I suppose that means that 99% of the electricity used to push those bits around is wasted as well. By extension, it could also mean that 99% of the greenhouse gases produced by that electricity is produced for no reason.

"The results are not scientifically sound but satisfy my curiosity on the topic, for now.

"Eliminating the dud URLs will produce a much higher object count.

“The results are not scientifically sound but satisfy my curiosity on the topic, for now.”
      --Anonymous
"Using more mainstream sites and fewer tech blogs will drive up the article sizes greatly.

"The work is not peer reviewed or even properly planned. I just tried some spur of the minute checks on article sizes in the first way I could think of," said the guy. We covered this subject before in relation to JavaScript bloat and sites' simplicity, but here we have actual numbers to present.

"The numbers depend on the quality of the data," the guy added, "that is to say the selection of links and the culling the results of 404's, paywall messages, and cookie warnings and so on.

"As mentioned I just took the latest link from each of the sites I have bookmarked this year. That skews it towards lean tech blogs. Though some publishers which should know very much better are real pigs:




$ wget --continue --page-requisites --timeout=30 --directory-prefix=./test.a/ https://www.technologyreview.com/s/614079/what-is-geoengineering-and-why-should-you-care-climate-change-harvard/ . . .

$ lynx --dump https://www.technologyreview.com/s/614079/what-is-geoengineering-and-why-should-you-care-climate-change-harvard/ > test.b

$ du -bs ./test.? 2485779 ./test.a 35109 ./test.b



"Trimming some of the lines of cruft from the text version for that article, I get close to two orders of magnitude difference between the original edition versus the trimmed text edition:

$ du -bs ./test.?
2485779	./test.a
35109	./test.b
27147	./test.c


"Also the trimmed text edition is close to 75% the size of the automated text edition. So, at least for that article, the guess of 75% content may be about right. However, given the quick and dirty approach, of this survey, not much can be said conclusively except 1) there is a lot of waste, 2) there is an opportunity for someone to do an easy piece of research."

Based on links from 2019-08-08 and 2019-08-09, we get one set of results (extracted all URLs saved from January 2019 through July 2019; http and https only, eliminated PDF and other links to obviously non-html material). Technical appendices and footnotes are below for those wishing to explore further and reproduce.







+ this only retrieves the first layer of javascript, far from all of it + some site gave wget trouble, should have fiddled the agent string, --user-agent="" + too many sites respond without proper HTTP response headers, slows collection down intolerably + the pages themselves often contain many dead links + serial fetching is slow and because the sites are unique

$ find . -mindepth 1 -maxdepth 1 -type d -print | wc -l 91 $ find . -mindepth 1 -type f -print | wc -l 4171 which is an average of 78 objects per "article"

+ some sites were tech blogs with lean, hand-crafted HTML, mainstream sites are much heavier, so the above average is skewed towards being too light

Quantity and size of objects associated with articles, does not count cookies nor secondary scripts:

$ find . -mindepth 1 -type f -printf '%s\t%p\n' \ | sort -k1,1n -k2,2 \ | awk '$1>10{ sum+=$1; c++; s[c]=$1; n[c]=$2 } END{ printf "%10s\t%10s\n","Bytes","Measurement"; printf "%10d\tSMALLEST\n",s[1]; for (i in s){ if(i==int(c/2)){ printf "%10d\tMEDIAN SIZE\n",s[i]; } }; printf "%10d\tLARGEST\n",s[c]; printf "%10d\tAVG SIZE\n",sum/c; printf "%10d\tCOUNT\n",c; }'

Bytes File Size 13 SMALLEST 10056 MEDIAN SIZE 32035328 LARGEST 53643 AVG SIZE 38164 COUNT









Overall article size [1] including only the first layer of scripts,

Bytes Article Size 8442 SMALLEST 995476 MEDIAN 61097209 LARGEST 2319854 AVG 921 COUNT

Estimated content [2] size including links, headers, navigation text, etc:

+ deleted files with errors or warnings, probably a mistake as that skews the results for lynx higher

Bytes Article Size 929 SMALLEST 18782 MEDIAN 244311 LARGEST 23997 AVG 889 COUNT

+ lynx returns all text within the document not just the main content, at 75% content the figures are more realistic for some sites:

Bytes Measurement 697 SMALLEST 14087 MEDIAN 183233 LARGEST 17998 AVG 889 COUNT

at 50% content the figures are more realistic for other sites:

465 SMALLEST 9391 MEDIAN 122156 LARGEST 11999 AVG 889 COUNT






       


$ du -bs * \ | sort -k1,1n -k2,2 \ | awk '$2!="l" && $1 { c++; s[c]=$1; n[c]=$2; sum+=$1 } END { for (i in s){ if(i==int(c/2)){ m=i }; printf "% 10d\t%s\n", s[i],n[i] }; printf "% 10s\tArticle Size\n","Bytes"; printf "% 10d\tSMALLEST %s\n",s[1],n[1]; printf "% 10d\tMEDIAN %s\n",s[m],n[m]; printf "% 10d\tLARGEST %s\n",s[c],n[c]; printf "% 10d\tAVG\n", sum/c; printf "% 10d\tCOUNT\n",c; }' OFS=$'\t'









[1]

$ time bash -c 'count=0; shuf l \ | while read u; do echo $u; wget --continue --page-requisites --timeout=30 "$u" & echo $((count++)); if ((count % 5 == 0)); then wait; fi; done;'









[2]

$ count=0; time for i in $(cat l); do echo;echo $i; lynx -dump "$i" > $count; echo $((count++)); done;








[3]

$ find . -mindepth 1 -maxdepth 1 -type d -print | wc -l 921

$ find . -mindepth 1 -type f -print | wc -l 38249









[4]

$ find . -mindepth 1 -type f -print \ | awk '{sub("\./","");sub("/.*","");print;}' | uniq -c | sort -k1,1n -k2,2 | awk '$1{c++;s[c]=$1;sum+=$1;} END{for(i in s){if(i == int(c/2)){m=s[i];}}; print "MEDIAN: ",m; print "AVG", sum/c; print "Quantity",c; }'









[5]

$ find . -mindepth 1 -type f -name '*.js' -exec du -sh {} \; | sort -k1,1rh | head 16M ./www.icij.org/app/themes/icij/dist/scripts/main_8707d181.js 3.4M ./europeanconservative.com/wp-content/themes/Generations/assets/scripts/fontawesome-all.min.js 1.8M ./www.9news.com.au/assets/main.f7ba1448.js 1.8M ./www.technologyreview.com/_next/static/chunks/commons.7eed6fd0fd49f117e780.js 1.8M ./www.thetimes.co.uk/d/js/app-7a9b7f4da3.js 1.5M ./www.crossfit.com/main.997a9d1e71cdc5056c64.js 1.4M ./www.icann.org/assets/application-4366ce9f0552171ee2c82c9421d286b7ae8141d4c034a005c1ac3d7409eb118b.js 1.3M ./www.digitalhealth.net/wp-content/plugins/event-espresso-core-reg/assets/dist/ee-vendor.e12aca2f149e71e409e8.dist.js 1.2M ./www.fresnobee.com/wps/build/webpack/videoStory.bundle-69dae9d5d577db8a7bb4.js 1.2M ./www.ft.lk/assets/libs/angular/angular/angular.js






[6] About page bloat, one can pick just about any page and find from one to close to two orders of magnitude difference between the lynx dump and the full web page. For example,




$ wget --continue --page-requisites --timeout=30 \ --directory-prefix=./test.a/ \ https://www.newsweek.com/saudi-uae-war-themselves-yemen-1453371 . . .

$ lynx --dump \ https://www.newsweek.com/saudi-uae-war-themselves-yemen-1453371 \ > test.b

$ du -bs ./test.? 250793 ./test.a 15385 ./test.b

Recent Techrights' Posts

Microsoft XBox is Having Its 1990s Apple Moment (Near Bankruptcy), Says Respected Insider
Microsoft's CEO has already admitted that XBox is having serious financial problems [...] They already try to reuse the brand "XBox" to refer to Vista 11
OECD Carries Water for Microsoft, Targets Schools and Children With Slop Agenda
Peel off a layer or two to find GAFAM
Links 16/06/2026: UK to Restrict Access to Social Control Media; The FCC Wants to Eliminate Burner Phones
Links for the day
 
Microsoft Will "DOOM" id Software and Others, Claim Observers
As the worst predictions trickle in and out Microsoft loses control of the narrative
Austria Shows Rapid Demise of Windows in the EU
Expect many Microsoft layoffs soon, and not just in XBox/gaming
Links 16/06/2026: Mainstream Media Affirms Microsoft Studio Closures Planned, Anthropic’s Latest Marketing Hype Debunked by Experts
Links for the day
This Morning The Register MS Published Page With "AI" 42 Times in It. It Was Paid SPAM.
The Register MS is propping up a pyramid scheme
Microsoft "Xbox braces for sweeping studio closures before June 30."
Microsoft's control of the damage-limiting narrative has clearly slipped
In Africa's Largest Nation Windows Has Fallen From 100% to a Lot Less, Now All-Time Lows
Let's see what happens or will happen in Algeria in 2027
Richard Stallman's Talk Due in One Hour, Here's What People Say
To Stallman, what matters is control by users and collective control
SLAPP Censorship - Part 108 Out of 200: Moving On and Moving Up
an explanation of our rich history and commitment to courageous whistleblowers
Why We Call Him Dr. Stallman
He got at least 15 such titles
United States of America: GNU/Linux Hovering Around 5% (It Started There)
GNU/Linux is turning 43 this year (in a few months), Linux will turn 35
Microsoft Promises Made to be Broken
It's a real problem and it is not limited to XBox
IBM Down $61 in Two Weeks, The Lies About Quantum Computers Didn't Last Long
IBM is an unsafe employer, not a good place to work
You Probably Don't Want to "Go Viral" in Toxic Social Control Media
Good news sites do not strive to go "viral" but to be consistently good, irrespective of "traffic"
New 'Article' in The Register MS Has Mentioned "AI" 44 Times. The Register MS Got Paid to Publish It.
Bear this in mind when seeing "hey hi" all over the news
18-Year Anniversary of Our IRC Community
As noted some months ago, trolling and abuse in our IRC network is very rare these days
Microsoft - Like IBM - is Leaving a Legacy is Emptied/Abandoned Buildings
Microsoft's LinkedIn had many layoffs recently
Richard Stallman's (RMS) Speaking Tour in Europe Coincides With Abandonment of Microsoft Windows
The message applies to all governments
Gemini Links 16/06/2026: Nazi Law of Mental Abuse and Lewis Aburrow's 3D-Printed Slider
Links for the day
Links 16/06/2026: Windows TCO and Fedora Finding Serious 20-Year-Old Holes in Microsoft Outlook
Links for the day
European Patent Office (EPO) Series: An Advisor to the President
he had recently advanced to membership of the "inner circle" of Team Campinos.
Two Weeks Ahead of July Three Studios Microsoft Plans to Shut Down Already Named
This is what happens when companies try to establish themselves on a mountain of promises and false assumptions, kicking the can down the road until payroll becomes hard to complete
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, June 15, 2026
IRC logs for Monday, June 15, 2026
IBM Works for Microsoft
Hours ago in IBM.com
Microsoft May Already Be Shutting Down More Gaming Studios
the writings are on the wall: XBox is in disarray.
European Patent Office (EPO) Series: The EPO's Brussels Liaison Officer
It would appear that in January 2020, Pellegrino was induced by Campinos to jump ship from the EUIPO and take up his current position as Brussels Liaison Officer for the EPO
European Patent Office (EPO) Receiving Section (RS) and Elimination of Many Roles
Open letter to Mr Rowan (VP1) and Mr Aledo Lopez (COO) [...] Does the EU leadership intend to tolerate this?
Microsoft's XBox is Disintegrating, Executives Are Quitting
We're basically witnessing the slow-motion "end of XBox"
Gemini Links 15/06/2026: Slop Code Benchmarked, Wireguard on NixOS and Guix
Links for the day
Links 15/06/2026: More Own Goals for the Slop Industry, Palantir Trouble in UK
Links for the day
Apple Wants Everybody to Forget About "Vision Pro" Because It Was a Giant Flop
worthless gadgets with no obvious use case/s
The Cyber Show is Adopting 'Book Form' (or Long Form Publications)
Andy and Helen nowadays invest more time in making their site faster
Richard Stallman's Software Freedom/Digital Sovereignty Tour in Europe
As things stand at present, the vast majority of people have their interactions controlled/policed by GAFAM
Estimates of Scale of Microsoft Layoffs, Will Likely Happen "in Batches"
"Heard 10 to 15 percent eventually but idk date."
IBM Has Put Red Hat on a Poor Diet of Slop, Now Fedora and Red Hat Suffocate or Choke on It
Over the weekend we saw more people leaving the company
Estimates of Microsoft Layoffs: 3,000 Staff to be Culled Just in Gaming, How Many in Other Divisions?
Now the XBox division has its own "fall guy", but it is a woman
Straw Man Arguments Against Rust
If anything, it teaches the importance of auditing packages
Tesla Debt Rose Sharply, Sales Declined, Wall Street's Claim of Tesla "Value" is Merely a Fairytale (and Not Just Tesla)
We would gladly sell land on Mars to anyone who honestly believes a company that loses money is somehow "worth" trillions in Wall Street
Stop Calling Losses "Investment"
XBox is losing money, it is a sinkhole
For Justice We Need More Speech, Not Less Speech
When you attack something you are just giving that something a bigger platform
SLAPP Censorship - Part 107 Out of 200: Keeping Law Accessible to Everybody
We'll have stories related to this in the future
Links 15/06/2026: Slop "Beg Bounties", Wall Street Fakes 'Worth', and Arkansans Saved PBS
Links for the day
Gemini Links 15/06/2026: Dating Oaks, Simulation, and Theremin
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, June 14, 2026
IRC logs for Sunday, June 14, 2026
Links 14/06/2026: Energy Cost and Reality Strikes at Heart of Slop Bubble, 75 Data Center Build-outs "Successfully Blocked"
Links for the day
Microsoft CEO Says XBox is Not a Sustainable Business
"Now, we have to turn this into a sustainable business," he said about XBox
MElon (MUSK, Elon) is a Trillionaire Like Penguins Are Mammals
Have media outlets told the truth?
Unlikely Heroes
One personal hero who is not alive (anymore) is Navalny
Bruce Schneier Was Probably Wrong About Slop
Right now politicians who openly speak in favour of slop are committing "political suicide"
SLAPP Censorship - Part 106 Out of 200: 100 Kilograms of Legal Papers
When one party's communications and filings weigh at about 3 KG of paper and another's... at about 100 KG of paper
Links 14/06/2026: More Google Layoffs, Wall Street Deems Companies That Lose Money "Worth" Trillions
Links for the day
Gemini Links 14/06/2026: "The Universe is a Hologram", "Matrix Brain Download", and "Happy 0th Year"
Links for the day
European Patent Office (EPO) Series: Battistelli's "Baltic Crusader"
Gilles Requena, Battistelli's erstwhile "Baltic Crusader" and the loyal servant of his successor Campinos
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, June 13, 2026
IRC logs for Saturday, June 13, 2026