Rich
2018-09-05 22:40:40 UTC
####################################################################
# ATTENTION: This post is a reference to a website. The poster of #
# this Usenet article is not the author of the referenced website. #
####################################################################
<URL:https://drewdevault.com/2018/09/04/Conservative-web-development.htm
l>
# ATTENTION: This post is a reference to a website. The poster of #
# this Usenet article is not the author of the referenced website. #
####################################################################
<URL:https://drewdevault.com/2018/09/04/Conservative-web-development.htm
l>
Today I turned off my ad blocker, enabled JavaScript, opened my network
monitor, and clicked the first link on Hacker News - a New York Times
article. It started by downloading a megabyte of data as it rendered the
page over the course of eight full seconds. The page opens with an
advertisement 281 pixels tall, placed before even the title of the
article. As I scrolled down, more and more requests were made,
downloading a total of 2.8 MB of data with 748 HTTP requests. An article
was weaved between a grand total of 1419 vertical pixels of ad space,
greater than the vertical resolution of my display. Another 153-pixel ad
is shown at the bottom, after the article. Four of the ads were
identical.
I was reminded to subscribe three times, for $1/week (after one year
this would become $3.75/week). One of these reminders attached itself to
the bottom of my screen and followed along as a scrolled. If I scrolled
up, it replaced this with a larger banner, which showed me three other
articles and an ad. I was asked for my email address once, though I
would have had to fill out a captcha to submit it. I took out my phone
and repeated the experiment. It took 15 seconds to load, and I estimate
the ads took up a vertical space equal to 4 times my phone's vertical
resolution, each ad alone taking up half of my screen.
The text of the article is a total of 9037 bytes, including the title,
author, and date. I downloaded the images relevant to the article,
including the 1477x10821 title image. Before I ran them through an
optimizer, they weighed 260 KB; after, 236 KB (using only lossless
optimizations). 8% of the total download was dedicated to the content. 5
discrete external companies were informed of my visit to the page and
given the opportunity to run artibrary JavaScript on it.
If these are the symptoms, what is the cure?
...
monitor, and clicked the first link on Hacker News - a New York Times
article. It started by downloading a megabyte of data as it rendered the
page over the course of eight full seconds. The page opens with an
advertisement 281 pixels tall, placed before even the title of the
article. As I scrolled down, more and more requests were made,
downloading a total of 2.8 MB of data with 748 HTTP requests. An article
was weaved between a grand total of 1419 vertical pixels of ad space,
greater than the vertical resolution of my display. Another 153-pixel ad
is shown at the bottom, after the article. Four of the ads were
identical.
I was reminded to subscribe three times, for $1/week (after one year
this would become $3.75/week). One of these reminders attached itself to
the bottom of my screen and followed along as a scrolled. If I scrolled
up, it replaced this with a larger banner, which showed me three other
articles and an ad. I was asked for my email address once, though I
would have had to fill out a captcha to submit it. I took out my phone
and repeated the experiment. It took 15 seconds to load, and I estimate
the ads took up a vertical space equal to 4 times my phone's vertical
resolution, each ad alone taking up half of my screen.
The text of the article is a total of 9037 bytes, including the title,
author, and date. I downloaded the images relevant to the article,
including the 1477x10821 title image. Before I ran them through an
optimizer, they weighed 260 KB; after, 236 KB (using only lossless
optimizations). 8% of the total download was dedicated to the content. 5
discrete external companies were informed of my visit to the page and
given the opportunity to run artibrary JavaScript on it.
If these are the symptoms, what is the cure?
...