Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login
Reducing 2 decimals in SVGs could save approx. 27,000 tons of CO2 per day (b'') similar stories update story
2 points by dev_marcospimi | karma 1 | avg karma 0.33 2023-08-17 15:18:50 | hide | past | favorite | 5 comments

Since it is estimated that there are 1.880 billion web pages in the world, and assuming that only half have SVGs, the savings would be approximately 8,787 TB in one day and 263,061 TB in a month.

According to the U.S. Department of Energy, every GB of data you download results in 3kg of CO2 emissions. Therefore, transferring 9 petabytes (the calculated savings) results in the emission of approximately 27,000 tons of CO2 per day.

If we reduce approximately 58 characters for each SVG in a site, we save 58 bytes. Let's say each website has 10 SVGs like this. A good site could have 720 visits per hour, resulting in 407 KB in one hour, or 9 MB per day.

For 1 million pages: 9.56MB × 1,000,000 = 9,560,000MB = 9,560GB In one month: 280.47TB (wow)

@dev_marcospimi



view as:

plain text better; less processing required

>A good site could have 720 visits per hour

I suspect that the median page is viewed closer to 720 times annually than hourly.


This will accomplish absolutely nothing.

Make a green grid then we can stop having these silly discussions.

Burning all that coal for electricity is the real problem

“The coal fleet grew by 19.5 gigawatts last year, enough to light up around 15 million homes, with nearly all newly commissioned coal projects in China”

https://www.pbs.org/newshour/amp/world/coal-burning-capacity...

But like the drunk searching for his keys under the street lamp, …

But hey, if you can start to find megatons of co2, like with bitcoin, then you might be onto something.

https://www.theatlantic.com/science/archive/2023/03/crypto-b...


You think half of all top websites contain svgs?

Legal | privacy