Today, I'll discuss digital ecology and how to reduce the carbon footprint of websites. The internet emits CO2 through data collection, transfer, and end devices. The ICT industry contributes 4% of greenhouse gas emissions. To create sustainable websites, use JavaScript or TypeScript, consider lighter libraries, cache data, and optimize resources like images, videos, and fonts. These techniques can reduce the carbon footprint by 70%. Additionally, using a dark mode and choosing a host provider with efficient power usage can help.
Hi, I'm Katarzyna and today I'm going to talk about digital ecology and how to mitigate the carbon footprint of websites. So what is digital ecology? It's a field of study about the interdependence of digital systems like the internet and the natural environment.
So long story short, everything we do online and what we do offline with our devices generates carbon footprint. But to be clear, digital ecology is not about stopping people from using the internet. It's all about using more sustainable routines that help to mitigate the carbon footprint of the ICT industry.
So how does the internet emit CO2? It all starts with data collection, with servers, data centers and the cloud. Then we can think about the data transfer and power lines. And last but not least, end devices. At each of the steps we have to think about powering all these devices, all those data centers and cooling them down. We also have to mention the energy and the natural resources needed in manufacturing the end devices.
So is it important? It quite is. The ICT industry stands for 4% of all greenhouse gas emissions. What can we do about it? Let's talk about websites. Every day 250,000 new websites are being published and each of those generates 1.8 gram of CO2, It sums up to 216 kilograms of CO2 annually. Have you ever wondered how much CO2 does your website produce? You can quite easily check it by using one of the most popular tools online called Website Carbon Calculator and it helps you with the formula to calculate what is the amount of CO2 that is being generated. It takes into consideration the website size, the end user traffic and the average global energy emissions.
So how can we create more sustainable websites? There are quite many techniques. Let's start with programming languages. So by using JavaScript or TypeScript, we can make our website much less heavier than by using a platform like Wix or Word Press. We would also have more control over the code and thus we can leave some unnecessary parts of the code. When thinking about libraries, ask yourself the question, do I really need all of those? Maybe there are some lighter libraries that you could use, or maybe you could just use the built-in fetch or just try writing those comments in plain JavaScript. Think also about calls to external APIs and about caching the data. And when it comes to resources, there are three main things that you have to consider. So images, videos, and fonts. When saving images, use SVG or WebPi as the formats. Videos, save them always in WebM. And fonts, of course, it's much better to use system fonts than those hosted online, and if you are saving them, use WOFFT instead of the TOFF. By using just this simple know-how, you can mitigate the carbon footprint by 70%. It's also good to have your website in a dark mode. And when picking a host provider, take a look at the power usage effectiveness of the data center and read also their behavior policy.
Comments