<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Valeria Salis</title>
    <description>The latest articles on DEV Community by Valeria Salis (@vallss).</description>
    <link>https://dev.to/vallss</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F863660%2Fd1bf79d9-bd05-425b-a170-54b0b281500d.jpg</url>
      <title>DEV Community: Valeria Salis</title>
      <link>https://dev.to/vallss</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vallss"/>
    <language>en</language>
    <item>
      <title>Building a Sustainable Web: a practical exploration of Open Source tools and strategies</title>
      <dc:creator>Valeria Salis</dc:creator>
      <pubDate>Thu, 13 Jun 2024 09:00:00 +0000</pubDate>
      <link>https://dev.to/sparkfabrik/building-a-sustainable-web-a-practical-exploration-of-open-source-tools-and-strategies-2683</link>
      <guid>https://dev.to/sparkfabrik/building-a-sustainable-web-a-practical-exploration-of-open-source-tools-and-strategies-2683</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;In the past few years I've been deeply concerned about climate change. My journey on &lt;strong&gt;web environmental sustainability&lt;/strong&gt;&lt;br&gt;
started by chance when I stumbled upon the concept of "sustainable web".&lt;/p&gt;

&lt;p&gt;I first learned how to create a better &lt;strong&gt;User Experience&lt;/strong&gt; taking in consideration sustainability principles &lt;br&gt;
and strategies, but it wasn't enough. I wanted to go deeper and understand more about the environmental impact of the web.\&lt;br&gt;
In this blog post I will share my journey, the tools and the strategies I've come across and learned and, last but not least, the &lt;br&gt;
role of Open Source and the relevance of its community aspect.&lt;/p&gt;

&lt;h2&gt;
  
  
  Let's start from the beginning
&lt;/h2&gt;

&lt;p&gt;For me, &lt;strong&gt;the Internet has always been my happy place&lt;/strong&gt;: it made me discover many of my passions and hobbies, it allowed me to learn new things, connect with people, entertain myself with some tv shows or movies and &lt;em&gt;even work&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;However, the Internet has various cons, and one of them is that, sadly, &lt;strong&gt;it is not very environmentally friendly&lt;/strong&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"If the Internet was a country, it would be the 4th largest polluter" - &lt;a href="https://www.sustainablewebmanifesto.com/" rel="noopener noreferrer"&gt;Sustainable Web Manifesto&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The sentence above is the opening sentence of the &lt;strong&gt;Sustainable Web Manifesto&lt;/strong&gt;, and it has been the very first sentence I &lt;br&gt;
read about web sustainability.\&lt;br&gt;
It broke down the idea I had of the web being a "place" with only positive aspects and made me realize that, in reality, it&lt;br&gt;
has some responsibilities regarding the environment. &lt;/p&gt;

&lt;p&gt;In fact, &lt;strong&gt;the Internet is responsible for about 4% of total CO2 emissions&lt;/strong&gt;, which&lt;br&gt;
may seem like a small percentage, but it's actually double the emissions of the air transport sector ("only" 2%).&lt;/p&gt;

&lt;h2&gt;
  
  
  UX and Web Sustainability
&lt;/h2&gt;

&lt;p&gt;The "first stop" of my journey was related to User Experience: on the occasion of &lt;strong&gt;UX Day 2023&lt;/strong&gt;,&lt;br&gt;
an Italian conference that took place in Faenza, I had the opportunity to bring my contribution with a talk called “&lt;strong&gt;UX and Web Sustainability&lt;/strong&gt;”.&lt;/p&gt;

&lt;p&gt;You can find the recording &lt;a href="https://youtu.be/jcPiD0WG0nk?si=rK6YMqDl0akhxb8R" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq3xe15k4iqpd5wo2sbr1.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq3xe15k4iqpd5wo2sbr1.webp" alt="Valeria Salis speaking at UX Day 2023 in Faenza, Italy. Valeria has short hair and is wearing a black t-shirt and the coloured badge from GrUSP." width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you've been following this tech blog for a while, you might have encountered my previous &lt;a href="https://dev.to/en/blog/20231018_ux_and_sustainable_web/"&gt;blog post&lt;/a&gt; about this specific&lt;br&gt;
topic, but I will summarize the main points here:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;sustainability also means &lt;em&gt;speed&lt;/em&gt;, &lt;em&gt;performance&lt;/em&gt;, &lt;em&gt;usability&lt;/em&gt; and &lt;em&gt;accessibility&lt;/em&gt; &lt;/li&gt;
&lt;li&gt;applying sustainability principles will make our websites load faster and help users navigate them more easily&lt;/li&gt;
&lt;li&gt;designing for the environment also means designing for everyone because when the majority of people are able to navigate our websites and applications, the energy required to run them won't be wasted.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Working towards a more environmentally friendly UX will make users happier&lt;/em&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Great starting point, wasn't it? It wasn't enough for me, though.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu2ucllt6p4li4hrrn0h3.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu2ucllt6p4li4hrrn0h3.webp" alt="A cat with a bored expression." width="500" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Cloud Native Sustainability Week
&lt;/h2&gt;

&lt;p&gt;The second stop of this journey took place in October 2023 on the occasion of &lt;strong&gt;Cloud Native Sustainability Week&lt;/strong&gt;, which&lt;br&gt;
is a global event organized by the &lt;a href="https://www.cncf.io/" rel="noopener noreferrer"&gt;CNCF (Cloud Native Computing Foundation)&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;It's a series of local meetups around the topic of &lt;strong&gt;sustainability in the cloud native ecosystem&lt;/strong&gt;: basically&lt;br&gt;
is that time of the year when the local communities involved with the CNCF dedicate time to spread awareness and share content &lt;br&gt;
(blog posts, talks, panels, etc.) about environmental sustainability.&lt;/p&gt;

&lt;p&gt;You can find more information about the event &lt;a href="https://tag-env-sustainability.cncf.io/events/cloud-native-sustainability-week/" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I had the opportunity to attend the meetup in Milan and contribute with a lightning talk about "how bad we use the Cloud"&lt;br&gt;
and the consequences of our approach.\&lt;br&gt;
The main takeaway I would like to share here is that we should be more aware of the data we store because &lt;strong&gt;approximately 90% of cloud data is used only one time&lt;/strong&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;We store data and then forget about it, but it's still there, consuming energy and resources.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  As a software developer, what else can I do?
&lt;/h2&gt;

&lt;p&gt;By that time, I had learned the importance of applying sustainability principles to the user experience, and the benefits not only for the environment, but also for the users. I had also learned that &lt;strong&gt;we need to be more aware of our data&lt;/strong&gt;, how we use it, and its impact on the environment.&lt;/p&gt;

&lt;p&gt;But UX and cloud are just two pieces of the puzzle, and in some ways on opposite sides of our applications.\&lt;br&gt;
There's a lot more between UX and the cloud, so I kept going back to fill in the gaps I had in my head.&lt;/p&gt;

&lt;h2&gt;
  
  
  Green software for practitioners
&lt;/h2&gt;

&lt;p&gt;One of the first resources I came across was the online course &lt;a href="https://training.linuxfoundation.org/training/green-software-for-practitioners-lfc131/" rel="noopener noreferrer"&gt;Green software for practitioners&lt;/a&gt; created by the &lt;a href="https://greensoftware.foundation/" rel="noopener noreferrer"&gt;Green Software Foundation (GSF)&lt;/a&gt; along with &lt;a href="https://www.linuxfoundation.org/" rel="noopener noreferrer"&gt;The Linux Foundation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you're not familiar with the GSF, their mission is to "&lt;em&gt;build a trusted ecosystem of people, standards, tools and best practices for developing&lt;br&gt;
and building green software&lt;/em&gt;". &lt;/p&gt;

&lt;p&gt;&lt;em&gt;Spoiler: later we will have a look at one of the tools they developed!&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Getting back to the subject of this paragraph, if you're a software developer or someone involved in &lt;em&gt;building, deploying, or managing a software application&lt;/em&gt; and you want to do so in a greener way, I would recommend the Green Software for Practitioners course as a starting point.&lt;/p&gt;

&lt;p&gt;I recommend this course for several reasons, including:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;it is an online course and entirely self-paced &lt;/li&gt;
&lt;li&gt;it gives you a complete glossary and a proper introduction to the main topics around green software development&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Today I will give you a "teaser" of some of the key concepts I've learnt from the course, but I highly recommend you to fully take it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Main actions to reduce the carbon footprint of software
&lt;/h3&gt;

&lt;p&gt;To reduce the carbon footprint of software, we must consider three main actions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🍃 &lt;strong&gt;Energy efficiency&lt;/strong&gt;, which consists of &lt;em&gt;consuming&lt;/em&gt; the least amount of electricity possible&lt;/li&gt;
&lt;li&gt;💻 &lt;strong&gt;Hardware efficiency&lt;/strong&gt;, which consists of &lt;em&gt;using&lt;/em&gt; as little embodied carbon as possible&lt;/li&gt;
&lt;li&gt;🌱 &lt;strong&gt;Carbon awareness&lt;/strong&gt;, last but not least, the purpose of this action is &lt;em&gt;doing more when the electricity is clean and less when it's dirty&lt;/em&gt; (e.g., using demand shifting and/or demand shaping methods);&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  What you can't measure, you can't improve
&lt;/h3&gt;

&lt;p&gt;The second topic I wanted to share in this blog post is the importance of &lt;strong&gt;measuring&lt;/strong&gt;, which is also one of the main chapters in the course.\&lt;br&gt;
Indeed, in order to improve the environmental sustainability of our software, we need to measure its impact on the environment.&lt;/p&gt;

&lt;h4&gt;
  
  
  Greenhouse Gases Protocol (GHG)
&lt;/h4&gt;

&lt;p&gt;The &lt;a href="https://ghgprotocol.org/" rel="noopener noreferrer"&gt;&lt;strong&gt;Greenhouse Gases Protocol (GHG)&lt;/strong&gt;&lt;/a&gt; is the most widely used and internationally recognized greenhouse gas accounting standard. &lt;br&gt;
It divides emissions into three main &lt;strong&gt;scopes&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Scope 1&lt;/strong&gt;, &lt;em&gt;direct&lt;/em&gt; emissions from operations owned or controlled by our organization (or the one we're applying this protocol for)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scope 2&lt;/strong&gt;, &lt;em&gt;indirect&lt;/em&gt; emissions related to emission generation of purchased energy (for example, electricity)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scope 3&lt;/strong&gt;, &lt;em&gt;other indirect&lt;/em&gt; emissions from  all the activities the organization is engaged in, including the ones from the organization's supply chain&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When it comes to software, knowing the scopes your emissions fall into is challenging because it depends on your specific scenario.\&lt;br&gt;
However, you will find some examples in the course.&lt;/p&gt;

&lt;h4&gt;
  
  
  Software Carbon Intensity (SCI)
&lt;/h4&gt;

&lt;p&gt;The &lt;a href="https://sci.greensoftware.foundation/" rel="noopener noreferrer"&gt;&lt;strong&gt;Software Carbon Intensity (SCI)&lt;/strong&gt;&lt;/a&gt; was developed by the GSF and aims to give a score to &lt;br&gt;
a software application in order to understand &lt;em&gt;how it behaves&lt;/em&gt; in terms of carbon emissions.\&lt;br&gt;
The SCI specification has recently achieved the &lt;strong&gt;ISO standard status&lt;/strong&gt;: you can find more information in &lt;a href="https://greensoftware.foundation/articles/sci-specification-achieves-iso-standard-status" rel="noopener noreferrer"&gt;this&lt;/a&gt; article.&lt;/p&gt;

&lt;p&gt;It's not a replacement for the GHG protocol, but rather an additional metric to more specifically address the characteristics of our software to make more informed decisions. The main difference between GHG and SCI is that the former categorizes emissions into scopes, while the&lt;br&gt;
latter divides them into &lt;strong&gt;operational emissions&lt;/strong&gt; and &lt;strong&gt;embodied emissions&lt;/strong&gt; and, as its name suggests, it's an intensity rather than a total.&lt;/p&gt;

&lt;p&gt;The SCI is calculated using the following equation:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;SCI = ((E * I) + M) per R&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;E&lt;/strong&gt; = energy consumed by a software system (in kWh)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;I&lt;/strong&gt; = location-based marginal carbon emissions (carbon emitted per kWh of energy so gCO2/kWh)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;M&lt;/strong&gt; = embodied emissions of a software system&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;R&lt;/strong&gt; = functional unit, it is the core characteristic of the SCI and the reason why it "becomes" an intensity and not a total&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F359bjr8k9bxqryo8o8ol.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F359bjr8k9bxqryo8o8ol.webp" alt="Two people trying to calculate the Software Carbon Intensity of a software application." width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What about the community?
&lt;/h2&gt;

&lt;p&gt;The final step of this exploration will be about open source and the community aspect that inevitably &lt;em&gt;contributes&lt;/em&gt; in some ways to our journey. For me, it has been a pivotal element related to environmental sustainability and tech.&lt;/p&gt;

&lt;h3&gt;
  
  
  Environmental Sustainability Technical Advisory Group
&lt;/h3&gt;

&lt;p&gt;The very first community I became part of was the &lt;a href="https://tag-env-sustainability.cncf.io/" rel="noopener noreferrer"&gt;Environmental Sustainability Technical Advisory Group&lt;/a&gt; which is part of the CNCF. The TAG Env Sustainability's goal is similar to the GSF's: their mission is to "&lt;strong&gt;advocate for, develop, support and help evaluate environmental sustainability initiatives in cloud native technologies.&lt;/strong&gt;"&lt;/p&gt;

&lt;p&gt;At the moment, the TAG has two main working groups:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the &lt;strong&gt;Green Reviews&lt;/strong&gt; group (WG Green Reviews), which is more focused on technical issues, metrics and developing tools&lt;/li&gt;
&lt;li&gt;the &lt;strong&gt;Communications&lt;/strong&gt; group (WG Comms), which is more focused on spreading awareness and sharing content and the work done by the Green Reviews group&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In the TAG, people are involved in different ways depending on their technical skills and/or interests, but the main thing I've had the opportunity to see is that &lt;em&gt;everyone wants to do something, participate, and lend even a small helping hand to the currently active projects and discussions&lt;/em&gt;.&lt;br&gt;
Having a community of people with different backgrounds and approaches to rely on, ask questions of, share content with, and discuss with is an excellent way to learn and achieve a more complete result.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This is what open source is all about: sharing, learning, contributing, and growing together.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;In this blog post, I've tried to give you an example of a learning path a &lt;em&gt;wannabe-greener-dev&lt;/em&gt; could follow, based on my experience and the tools and resources I've come across. &lt;/p&gt;

&lt;p&gt;Environmental sustainability is a broad topic, and since there isn't a defined clear and linear path, it can be challenging for someone to get started, especially when we're talking about engineering and software development, since it can be challenging to even understand that our work has an impact on the environment.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bonus: some other tools and resources
&lt;/h2&gt;

&lt;p&gt;Here's a list of some other open source tools you might find useful in your journey towards a more sustainable web:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://developers.thegreenwebfoundation.org/" rel="noopener noreferrer"&gt;Developers page of The Green Web Foundation&lt;/a&gt;, in this page you can find some projects and libraries to try out and contribute too, such as C02.js, Grid Intensity CLI, Greencheck API and a lot more&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://opensustain.tech/" rel="noopener noreferrer"&gt;Open Sustainable Technology&lt;/a&gt;, a website that collects a list of open source projects and tools environment related&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://kube-green.dev/" rel="noopener noreferrer"&gt;kube-green&lt;/a&gt;, a tool that helps you reduce the carbon footprint of your Kubernetes clusters&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://ecograder.com/" rel="noopener noreferrer"&gt;Ecograder&lt;/a&gt;, a tool that helps you understand how sustainable your website is and gives you some tips on how to improve it; it's based on various open source libraries. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Along with the online tools, I would recommend you the following books:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://abookapart.com/products/sustainable-web-design" rel="noopener noreferrer"&gt;Sustainable Web Design&lt;/a&gt; by Tom Greenwood&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.worldwidewaste.org/" rel="noopener noreferrer"&gt;World Wide Waste&lt;/a&gt; by Gerry McGovern&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.goodreads.com/book/show/7646482-how-bad-are-bananas" rel="noopener noreferrer"&gt;How bad are bananas?&lt;/a&gt; by Mike Berners-Lee (yes, &lt;em&gt;Tim Berners-Lee's brother&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.oreilly.com/library/view/building-green-software/9781098150617/" rel="noopener noreferrer"&gt;Building Green Software - A sustainable approach to software development and operations&lt;/a&gt; by Anne Currie, Sarah Hsu and Sara Bergman&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>opensource</category>
      <category>sustainability</category>
      <category>envsustainability</category>
    </item>
    <item>
      <title>UX and Sustainable Web</title>
      <dc:creator>Valeria Salis</dc:creator>
      <pubDate>Mon, 30 Oct 2023 09:00:00 +0000</pubDate>
      <link>https://dev.to/sparkfabrik/ux-and-sustainable-web-o77</link>
      <guid>https://dev.to/sparkfabrik/ux-and-sustainable-web-o77</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;If the Internet was a country, it would be the 4th largest polluter.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This is the opening sentence of the &lt;a href="https://www.sustainablewebmanifesto.com/" rel="noopener noreferrer"&gt;Sustainable Web Manifesto&lt;/a&gt;, a collaborative project officially launched in 2019 by &lt;a href="https://www.wholegraindigital.com/" rel="noopener noreferrer"&gt;Wholegrain&lt;/a&gt;, a London-based agency whose specialty is the development of sustainable websites.&lt;br&gt;
When I first read this sentence, I was a bit shocked and curious at the same time. It was eye-opening. &lt;/p&gt;

&lt;p&gt;But, is Internet the real enemy? &lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmy2424tjeg6cwx95unw2.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmy2424tjeg6cwx95unw2.webp" alt="Two characters talking about the Internet and CO2 emissions. One of them says: 'We should do more to reduce our carbon emissions.' The other one replies: 'Then get off the Internet. The servers emit lots of heat and need constant cooling.'." width="524" height="499"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We will start this journey with &lt;strong&gt;some data&lt;/strong&gt;, then we'll talk about &lt;strong&gt;what we can do&lt;/strong&gt; to reduce the emissions of our websites and applications and at the end we will answer &lt;strong&gt;THE&lt;/strong&gt; question: does a more sustainable UX have all the features the users are already looking for?&lt;/p&gt;

&lt;h2&gt;
  
  
  Let's start with some data
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Internet is responsible for about &lt;strong&gt;4%&lt;/strong&gt; of total CO2 emissions;&lt;/li&gt;
&lt;li&gt;A single Google search produces a minimum of &lt;strong&gt;1g to a maximum of 10g&lt;/strong&gt; of CO2;&lt;/li&gt;
&lt;li&gt;On average, Google processes about &lt;strong&gt;47.000&lt;/strong&gt; searches every second, which means about &lt;strong&gt;3.5 billions&lt;/strong&gt; a day;&lt;/li&gt;
&lt;li&gt;Websites emits an average of &lt;strong&gt;1,76g&lt;/strong&gt; of CO2 for every page that's visited.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These numbers may not mean much to you, so let's have a look at some data regarding more tangible activities:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Transport is responsible for about &lt;strong&gt;8%&lt;/strong&gt; of total CO2 emissions;&lt;/li&gt;
&lt;li&gt;Air traffic is responsible for about &lt;strong&gt;2%&lt;/strong&gt; of total CO2 emissions;&lt;/li&gt;
&lt;li&gt;Smoking a cigarette emits &lt;strong&gt;14g&lt;/strong&gt; of CO2;&lt;/li&gt;
&lt;li&gt;An active freezer emits &lt;strong&gt;40g&lt;/strong&gt; of CO2 every hour.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You thought that 4% was a small and irrelevant percentage, did you? Well, let me rephrase: &lt;em&gt;Internet CO2 emissions are twice as much as air traffic emissions&lt;/em&gt; and &lt;em&gt;if we consider the worst-case scenario, a single Google search emits as much as smoking a cigarette&lt;/em&gt;.&lt;br&gt;
Not to mention that Internet is becoming more and more present in our daily life.&lt;br&gt;
From buying groceries to entertaining ourselves with some streaming content to even work, that 4% data is estimated to increase.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F79hhuk7oqf0ln4eivsa2.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F79hhuk7oqf0ln4eivsa2.webp" alt="The image represents a common work station that includes a laptop and a take-away cup of coffee. From the desktop we can see some big dark clouds which represent the pollution generated by our 'Internet activity'." width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What does it mean to design sustainable websites?
&lt;/h2&gt;

&lt;p&gt;Sustainable websites follow the six principles declared in the &lt;a href="https://www.sustainablewebmanifesto.com/" rel="noopener noreferrer"&gt;Sustainable Web Manifesto&lt;/a&gt;. They are the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Clean&lt;/strong&gt;, websites should be powered using clean resources;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Efficient&lt;/strong&gt;, we should use the least amount of energy and resources and re-use components whenever it's possible;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open&lt;/strong&gt;, websites should be accessible and clear for our users;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Honest&lt;/strong&gt;, this one is linked to the previous principle and aims to specify that websites should not take advantage of the users;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Regenerative&lt;/strong&gt;, our websites provide an opportunity to support greener choices such as accepting a longer delivery when we buy a product or compensate emissions by planting trees;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resilient&lt;/strong&gt;, our websites should work even at difficult times and conditions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Starting from these principles we can define some best practices.&lt;/p&gt;

&lt;h3&gt;
  
  
  Green Web Hosting
&lt;/h3&gt;

&lt;p&gt;The first one is linked to the first principle (&lt;em&gt;clean&lt;/em&gt;) and it's about the hosting: we should choose a &lt;em&gt;green hosting provider&lt;/em&gt; that uses renewable energy to power its servers.&lt;br&gt;
Some of them can be found in the following &lt;a href="https://www.thegreenwebfoundation.org/tools/directory/" rel="noopener noreferrer"&gt;list&lt;/a&gt; provided by &lt;a href="https://www.thegreenwebfoundation.org/" rel="noopener noreferrer"&gt;The Green Web Foundation&lt;/a&gt;. If you want to, you can also check whether your website or a website you're interested in is hosted on a green server by using the &lt;a href="https://www.thegreenwebfoundation.org/green-web-check/" rel="noopener noreferrer"&gt;Green Web Check&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Web Performance Optimization
&lt;/h3&gt;

&lt;p&gt;A sustainable website is also a &lt;strong&gt;performant&lt;/strong&gt; website: in these terms, sustainability equals &lt;strong&gt;speed&lt;/strong&gt;.&lt;br&gt;
This is because the slower a website is, the more energy it consumes. A slow website leads to the &lt;em&gt;worst-case scenario&lt;/em&gt; when we talk about sustainability and UX: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;users try to navigate a page of our website &lt;/li&gt;
&lt;li&gt;the page requires some time to load &lt;/li&gt;
&lt;li&gt;the page requires &lt;em&gt;some more time&lt;/em&gt; to load&lt;/li&gt;
&lt;li&gt;users close the page without even interacting with it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Why is it the worst-case scenario?&lt;/em&gt;&lt;br&gt;
Because it takes a various amount of resources to load a website, and if the user closes the page before the end of the loading process, all the resources that have been downloaded are wasted and with them also all the energy required to do so.&lt;/p&gt;

&lt;h3&gt;
  
  
  Content findability
&lt;/h3&gt;

&lt;p&gt;We should ensure that users find the content they seek in the &lt;em&gt;easiest&lt;/em&gt; and &lt;em&gt;fastest&lt;/em&gt; way possible.&lt;br&gt;
This is because if users can't find what they are looking for, they will probably try to find it somewhere else either clicking on various links in the same website or in a new one and consume more energy. &lt;/p&gt;

&lt;h3&gt;
  
  
  Usability
&lt;/h3&gt;

&lt;p&gt;We should ensure that our websites are usable and efficient on different devices, browsers and bandwidths.&lt;/p&gt;

&lt;h2&gt;
  
  
  Practical tips
&lt;/h2&gt;

&lt;p&gt;There are so many elements that can be managed to make our websites more sustainable but in this article we will cover only three of them: &lt;strong&gt;images&lt;/strong&gt;, &lt;strong&gt;fonts&lt;/strong&gt; and &lt;strong&gt;videos&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Images
&lt;/h3&gt;

&lt;p&gt;Images are one of the main elements used in our websites to communicate something or visually represent a concept. However, images are resources that need to be loaded therefore require some energy dependent on their colors, size, etc. We as designers and developers need to ask ourselves some questions: &lt;em&gt;is this image really needed here? Does it add something useful for the user? Is it accessible so that &lt;strong&gt;everyone&lt;/strong&gt; can benefit from adding it to our website?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;If the answer to all the questions is &lt;strong&gt;yes&lt;/strong&gt;, then we can apply some strategies to reduce the carbon footprint of our image. The main thing is to use a sustainable-friendly format whenever it's possible and my recommendation is the &lt;strong&gt;.webp&lt;/strong&gt; format.&lt;br&gt;
The .webp format was developed by Google specifically for images that would be used on the web and it is optimized to enable faster and smaller images.&lt;/p&gt;

&lt;p&gt;Webp lossless images are about &lt;strong&gt;26%&lt;/strong&gt; smaller than png images whereas webp lossy images can be &lt;strong&gt;a minimum of 25 and a maximum of 34%&lt;/strong&gt; smaller compared to jpeg images.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://developers.google.com/speed/webp/docs/compression?hl=en" rel="noopener noreferrer"&gt;Here&lt;/a&gt; you can find further explanation about the compression technique that backs up this format. &lt;/p&gt;

&lt;h3&gt;
  
  
  Fonts
&lt;/h3&gt;

&lt;p&gt;The most sustainable fonts are of course system fonts because they are already installed in any user's device and do not need to be downloaded.&lt;br&gt;
However, at this point you may be wondering: &lt;em&gt;what about creativity? What about branding? System fonts are very neutral.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In fact, there are services like Google Fonts or even Adobe Fonts that come to help us with this problem.&lt;br&gt;
Google Fonts, for example, includes more than &lt;strong&gt;1300 font families&lt;/strong&gt; and maintains &lt;strong&gt;more than 30 optimized variations&lt;/strong&gt; of each font.&lt;br&gt;
Google also provides the most efficient resource whenever we call one of its fonts.&lt;/p&gt;

&lt;p&gt;The third option, the most creative one, is obviously using a custom font. In this case, we should use formats that provide the best compression such as &lt;strong&gt;EOT&lt;/strong&gt;, &lt;strong&gt;TTF&lt;/strong&gt;, &lt;strong&gt;WOFF&lt;/strong&gt; and &lt;strong&gt;WOFF 2.0&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Videos
&lt;/h3&gt;

&lt;p&gt;Videos are one of the most energy-consuming elements of our websites. Therefore, we should use them only when essential: they should enhance the user experience. &lt;br&gt;
It’s best to reduce the number of videos on our website and minimize their duration to their purpose only.&lt;/p&gt;

&lt;h4&gt;
  
  
  Video &amp;amp; Autoplay
&lt;/h4&gt;

&lt;p&gt;Yes, we will talk about one of the worst things that can happen to a user: &lt;strong&gt;autoplay&lt;/strong&gt;. &lt;br&gt;
Autoplay is a feature that is still very much used in some websites, especially news websites, that's why I decided to include it in this article. &lt;/p&gt;

&lt;p&gt;It annoys users because it takes away their control over the content they are consuming and users want to be in control of what they are doing and what they are seeing.&lt;br&gt;
Autoplay is the digital equivalent of a salesperson that comes to you at the entrance of the store to ask if you need something of if they can help you, and you're like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fprcsko5mjhyq9owl7kpn.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fprcsko5mjhyq9owl7kpn.webp" alt="Meme that represents the real situation of you entering in a shop and the salesperson comes to you at the entrance of the store to ask if you need something of it they can help you." width="500" height="332"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Not appreciated at all, right? &lt;br&gt;
For people with disabilities this feature can be even more problematic because:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;it can be difficult to understand where the sound is coming from;&lt;/li&gt;
&lt;li&gt;it can get in the way of screen readers and make it difficult to navigate the website;&lt;/li&gt;
&lt;li&gt;it can cause physical reactions such as seizures due to the content.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The user is obviously &lt;strong&gt;forced&lt;/strong&gt; to close the page, and we've already seen that this is the worst-case scenario: think about all the resources that have been downloaded and wasted because of a pointless feature.&lt;/p&gt;

&lt;p&gt;So, here's what we can do:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;remove autoplay&lt;/strong&gt;;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;add play/pause buttons&lt;/strong&gt; so that users can manage the video as they prefer;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;add usability options and warnings&lt;/strong&gt; about the content;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;add subtitles&lt;/strong&gt; so that users can understand the content even if they can't hear it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At this point you may be wondering: &lt;em&gt;why are we talking about accessibility? Isn't this article about sustainability?&lt;/em&gt;&lt;br&gt;
Well, the answer is simple: &lt;strong&gt;accessibility is sustainability&lt;/strong&gt;. Sustainable strategies and principles aim to include as many as users possible because only when everyone will be able to access the content of our website then the resources required won't be wasted.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;So, is a more sustainable UX really needed?&lt;/strong&gt;&lt;br&gt;
Spoiler alert: &lt;strong&gt;yes&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;We've seen through this article that sustainable choices indirectly lead us to what users are looking for, and that is: performant, accessible and usable websites.&lt;/p&gt;

&lt;p&gt;Today users also tend to choose more sustainable products and services therefore it's a good practice to add some information about the sustainability of our website.&lt;br&gt;
There are various tools that can help us with this task such as &lt;a href="https://www.websitecarbon.com/" rel="noopener noreferrer"&gt;Website Carbon&lt;/a&gt;. &lt;br&gt;
It requires an url and then returns information such as the amount of CO2 produced everytime someone visits the page, whether the website is running on sustainable energy or not, some tangible equivalents of the amount of CO2 produced over a year with a fixes amount of page views, etc.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq7q11py0imrmbv188xp3.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq7q11py0imrmbv188xp3.webp" alt="Carbon footprint analysis of the first page of the first page of the SparkFabrik's tech blog. It shows that the website is running on renewable energy, it is clearer than 76% of webpage tested and only 0.23g of CO2 is produced everytime someone visits the page." width="800" height="1318"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let me close this article the same way it started: with a quote.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The internet should be a public good - healthy for the planet and for the people who use it.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.sciencedirect.com/science/article/pii/S2666389921001884" rel="noopener noreferrer"&gt;The real climate and transformative impact of ICT: A critique of estimates, trends, and regulations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://edgar.jrc.ec.europa.eu/" rel="noopener noreferrer"&gt;EDGAR - Emissions Database for Global Atmospheric Research&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.iea.org/energy-system/transport/aviation" rel="noopener noreferrer"&gt;Air travel emissions and some data&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://8billiontrees.com/carbon-offsets-credits/carbon-footprint-of-the-internet/" rel="noopener noreferrer"&gt;Carbon Footprint of the Internet Over Time Since 1990&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.pixeledeggs.com/sustainable-websites-tip-1-use-images-efficiently/" rel="noopener noreferrer"&gt;Some more tips about images&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.boia.org/blog/why-autoplay-is-an-accessibility-no-no" rel="noopener noreferrer"&gt;Why Autoplay Is an Accessibility No-No&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ux</category>
      <category>userexperience</category>
      <category>sustainability</category>
      <category>sustainableweb</category>
    </item>
  </channel>
</rss>
