Hacker News new | ask | show | jobs
by hamoid 3464 days ago
What's heavier, the linked web page as provided (html, css, js and image files) or as ONE large image?

I tested it: the whole page rendered as one high quality 1918 x 17591 JPEG file weighs 3.58 MB.

As loaded by the browser, without ad blocking, it does +280 http requests to dozens of servers and downloads 6.9 MB.

If pages were provided as images, we might burn less CPU cycles and produce less CO2. Not so good for clicking ads though ;)

3 comments

Half the charts came back "secure connection failed" so the page is loading multiple certificates for multiple frames just for laughs too.

I assume that another ten years of hardware progress will allow web pages to install and boot multiple OSes to display charts and graphs as well.

Opera does (did?) this for its Opera Turbo browser.
what if you make it monochrome?
As a 16 color grayscale png it's 870KB.