Last month the first International Conference on Green Computing took place. The conference agenda included a broad range of topics but, in essence, was eagerly addressing issues surrounding the carbon footprint of computing and how computers can contribute to the well being of our world. So what better time to raise a few questions about green web design. What is our role in contributing to a greener computing world?

We are, after all, steering the Internet1 towards being a safe storage of every kind of data. Every now and again it is good to step back and look at where we fit into this bigger picture of a green computing world. We as web designers and developers are the lead architects of the Web. We are the ones carrying the main blocks and putting them in place. Layering and cementing the blocks of information together. Brick by brick. The new Rome!

But who is actually making sure the outer walls of our construction run true? Do we have our eyes on the bigger picture? Are our processes as eco-friendly as they could be / should be? And this is not just about optimization for speed of delivery. Are we true to ourselves in considering the energy efficiency of our web constructions, or are we more concerned for aesthetics? Are these relevant questions for a web designer?

So, How Much Does The Web Cost?

What a complex little question. Discovery Magazine has already asked the question: How Much Does The Internet Weigh?4 (if you are one of those designers/developers who love a little reading about the science behind your work, you’ll find this interesting). In another reference to this question, apparently the Internet weighs 56grams (two ounces), but takes fifty million horsepower to run.

Someone has actually also published some back-of-the-napkin figures for How much energy per Tweet?5. According to Google’s own published comparisons of how Google Searches tally up against everyday activities in terms of CO2 emissions, a five mile trip in the average U.S. automobile is equal to 10,000 Google searches.

One web page carbon footprint measured

One crucial irony in this relatively new global concern for energy efficiency is that as broadband internet technologies improve speed of delivery, web designers and developers seem to be designing and building more cumbersome websites.

According to statistics, since 2003, the average web page size has quintupled. That is to say it has increased five-fold. “From 2003 to 2009 the average web page grew from 93.7K to over 507K”. While performance has improved, it seems we have forsaken basic compression logic for increased quality, hence larger files behind our web pages.

Author note: Heaven knows I have been guilty of throwing in a 180kb full-screen image on a web page thinking simply, what the heck, my target audience is in Germany, broadband services here can handle it! Five years ago I can remember aiming for no more than 20kb per graphic.

So what needs to be highlighted here is the fact that the richer and more interactive website experiences we are creating are not going unnoticed. The files we create to build websites are “stored on servers, viewed by personal computers, and connected via networks”. This all requires energy to then house, cool, power and deliver the data that makes up a website.

Dr. Alex Wissner-Gross, a Harvard University physicist and Environmental Fellow, has researched the environmental impact of computing and calculated the CO2 emissions caused by individual use of the internet. His research, published in 2009, indicates that viewing a simple web page generates about 20 milligrams of CO2 per second. This rises to about 300mg of CO2 a second when viewing a website with complex images, animations or videos.

“So, when you are sitting in London viewing a website hosted in California, there are power plants on at least two continents actively pumping carbon dioxide into the atmosphere in order for you to watch that video or read that online newspaper…

Since millions of people are surfing the web every hour of every day, that carbon footprint adds up to an astounding 2% of international emissions each year. In fact, according to the American research firm Gartner, the carbon footprint of information and communications technology exceeded that of the global aviation industry for the first time in 2007.”

Now while scientific measurements of CO2 and kilowatt hours are, to the average person, still a foggy area to get our heads around, what is important to consider is simply that every website we produce has a consequence. According to figures from worldwidewebsize.com, as of the 31st August 2010, there are at least 15.26 billion indexed pages. A very simplistic analysis here would be that, contrary how fast my broadband service is, because we make our graphic files larger together with the fact that we are producing more web pages, any new efficiency is counteracted. As noted, this would be a very generalized conclusion to draw.

One measuring tool

Dr. Wissner-Gross has co-founded CO2Stats86, an online “environmental trustmark” calculator, designed to allow web designers and bloggers make their sites greener in an accountable way. CO2Stats says that it automatically monitors and neutralizes the end-to-end carbon footprint of websites — “not just the servers, but the visitors’ computers (while they are on your site) and the networks that connect them”.

7CO2Stats86 allows web designers and bloggers to analyze their websites and put in place greener measures. It monitors and neutralizes the end-to-end carbon footprint of websites.

The changing face of an average web page

“In 1997, 90% of videos were under 45 seconds in length (Acharya & Smith 1998). In 2005, the median video was about 120 seconds long (Li et al. 2005). By 2007, the median video was 192.6 seconds in duration (Gill et al. 2007). The median bit rate of web videos grew from 200Kbps in 2005 to 328Kbps on YouTube in 2007. So by late 2007, the median video weighed in at over 63MB in file size. On YouTube, the average video size is 10MB, with over 65,000 new videos added every day”.

The conclusion of the report is:

“Within the last five years, the size of the average web page has more than tripled, and the number of external objects (EO) has nearly doubled. While broadband users have experienced faster load times, narrowband users have been left behind. With the average web page sporting more than 50 external objects, object overhead now dominates most web page delays. Minimizing HTTP requests10 by using CSS sprites11, combining JavaScript or CSS files12, reducing the number of EOs, and converting graphic effects to CSS while still retaining attractiveness, has become the most important skill set for web performance optimizers”.

The Long-Term View

The World Wide Web Consortium13 (W3C) is, for all intents and purposes, the one central point where responsibility for the future development of best practice web design can be attributed. The W3C points out quite clearly and early in its Mission Statement14 that “long-term growth of the Web” is of utmost importance. The key individual areas of its Mission Statement then address:

It would appear that we are successfully delivering the W3C’s vision of a world wide web for rich interaction. And we have the creative licence to produce visually stimulating content. In its definition of “What are Graphics?” it states: “Web graphics are visual representations used on a Web site to enhance or enable the representation of an idea or feeling, in order to reach the Web site user.

Graphics may entertain, educate, or emotionally impact the user, and are crucial to strength of branding, clarity of illustration, and ease of use for interfaces”. It goes on to say that “Graphics are used for everything from enhancing the appearance of Web pages to serving as the presentation and user interaction layer for full-fledged Web Applications”.

So Let’s Do Our Part

Consider offering your clients green web initiatives

It can be a valuable collateral marketing tool for your design business if you promote the fact that you encourage green website initiatives. There is, for example, a Danish project – CO2 Neutral Website – which is on a global march to rein in the energy consumption of the world wide web. Your financial registration with the CO2 Neutral initiative contributes to climate projects, provides you a certificate as a climate-friendly website plus gives you use of tools to help energy optimization.

Black could be greener

While there is controversy19 over whether a black color palette is more energy efficient than light colors on a website, there are still proponents of the darker website design. The emergence of the search engine Blackle20 in 2008 (founded by Sydney-based online media company, Heap Media) was the result of a proposed theory in 2007 that a black version of the Google search engine would save a fair bit of energy (750 Megawatt-hours).

“The principle is based on the the fact that different colors consume different amounts of energy on computer monitors”. Blackle searches are powered by Google Custom Search and states that it saves energy because the screen is predominantly black. “Image displayed is primarily a function of the user’s color settings and desktop graphics, as well as the color and size of open application windows; a given monitor requires more power to display a white (or light) screen than a black (or dark) screen.” Roberson et al, 200221

Beyond the actual color information behind our web pages, some developers have considered the automation of standby mode intra-surfing. That means a website can be put in standby mode while a user is surfing other pages. Online Leaf22 has developed a WordPress Plugin23 that installs a green standby engine on blogs.

The low wattage color palette

Boston-based green computing consultant Mark Ontkush (incidentally, whose blog post in January 200725 started the black-white Google controversy mentioned above) has published the EMERGY-C26 low wattage color palette which is claimed to consume only 3 to 4 watts more than an all black page.

100% renewable web hosting

Using 100% renewable energy to store and dish up our websites is certainly a service worth considering when building a new website for clients. Or even when doing a re-brand, it could be mentioned to the client as a value-add marketing concept.

Treehugger28 lists wind and solar-powered web hosting companies that are increasing in popularity. And here is another Top-10 list of green web hosting companies as listed by Web Hosting Geeks29 where the web hosts proclaim to use only renewable energies to run their servers.

Think, be aware, optimize AND be methodical

As designers and developers we CAN do our bit to help keep the net energy efficient and free from digital litter. For example, do you ever think twice about the redundant (or orphaned) files you leave sitting on a server. After the design and build has been signed off, there is invariably redundant JavaScript and graphic files.

Let’s imagine for just one minute the peripheral consequence of our web designs. If for every website project you build, you leave five unused JavaScript files, say average 10kb per file, and maybe 30 image files that are 30-50kb per file we are looking at approximately 1550kbs of unused data sitting on a server. Times that by all the websites that have been developed in the world … well, that means huge quantities of redundant data sitting on a servers in data centers, that need to be kept cool. While one could argue that this is inconsequential, one could equally argue that it is still litter that could just as well be gotten rid of.

Upon recently revisiting Tim Berners-Lee31’s proposal for the web32 two words struck a chord: portability and usefulness. After facing a situation of ‘Information Loss’ at the European Organization for Nuclear Research(CERN), the conclusion of Berners-Lee’s proposal for better information management goes like this: “We should work toward a universal linked information system, in which generality and portability are more important than fancy graphics techniques and complex extra facilities.

The aim would be to allow a place to be found for any information or reference which one felt was important, and a way of finding it afterwards. The result should be sufficiently attractive to use that it the information contained would grow past a critical threshold, so that the usefulness the scheme would in turn encourage its increased use.”

What I personally gained from this was: If it’s not portable, don’t use it. If its not useful, get rid of it.

Tools to find and remove unused files

There are various (but not many) software that crawl websites and identify pages and files that are unused. Here are two to consider for finding unused files: Windows Inspyder Orfind33 and Mac SiteCleaner34. There are also some software, such as WebsiteCleaner35, that profess to optimize complete websites by stripping unnecessary characters and metadata.

How does your website measure up?

You can get a breakdown of overall file size and number of external objects for a web page here at websiteoptimization.com36 or you can use the Firefox Firebug37 Extension in conjunction with the Page Speed Add-On38 to analyse your website pages. Advice is also given on where you can save on size and speed.

Set yourself ‘golden rules of thumb’

As mentioned above, I used to always aim for a graphic size no greater than 20kb. Why, then, should this be any different today? Admittedly, to a great extent the tools we use to build websites have control over the optimal efficiency of our work. But these are also improving. Image compression processes are mostly defined by the JPEG, the Gif and the Png. While more than 60% of the average web page is made up of graphics and multimedia, there are better optimizing practices that we can employ as designers. Popular scripting libraries such as Jquery40 and MooTools41 have also greatly advanced the lesser-impact level of dynamic web pages.

You may want to take a look at the following articles on image optimization:

Wrapping Up

This article actually started out as a good web design house-keeping article, and is not meant to be environmentally evangelistic. The Web is growing so quickly, it is actually difficult to fathom how we are all working away independently in our little corners of the world and yet at the same time working together to build what is destined to be the greatest infrastructure of all time. Each website construction phase is a virtual sojourn for us as web designers and developers, but nevertheless leaves an imprint that can be physically measured.

Some of us may think this is not a web designer’s problem. As far as I am aware, we have no established maximums that cap our build of web page sizes nor restrict how much ‘litter’ we leave on the world wide web. To a degree, we (or our clients) do pay premiums to web hosts based on website sizes. So therefore by passing the environmental buck onto the web hosts means it is their responsibility to put in place energy efficient processes. But as noted above, within the past six years our web pages have increased in size five-fold to an average of around 500kb. At this rate, one could forecast that by 2020 we are looking at pages that are at least 1MB. Therein lies some responsibility.

Or, an alternative conclusion would be that we have reached the page size threshold? That is to say, we are punching out full-size images and streaming video. What else could we possibly want/need?

Whatever your stance on these questions and whatever web technology evolves over the coming 5 to 10 years, some things will always remain true: good things come in small sizes!

Global Warming Petition Project

“There is no convincing scientific evidence that human release of carbon dioxide, methane, or other greenhouse gases is causing or will in the foreseeable future, cause catastrophic heating of the Earth’s atmosphere and disruption of Earth’s climate …”

Over 32,000 Scientists have signed the petition.

0

52

Nils

32.000 “scientist” may very well be wrong in this aspect, and their word is no better than yours or mine, if their field isn’t directly related to the issue at hand.
What authority does a “scientist” whos field is, say, philosophy, english or history have on this subject?

If you can get me 32000 climatologists, meteorologist or similar, that would be another case.

akumar

Alison Fay Binney

akumar. obvious question, but I am prepared to lay all my bank accounts on the table and open all my pockets here for you to take a look ! Not a cent. This is the first article that SM has posted from me, so maybe they’ll think twice in the future. If you read the article through to the end, you will see that there are questions raised beyond simply putting a green mark on your website. The idea here was to get designers to just think a little more beyond lazily throwing anything and everything on to the world’s web servers. If they are mature enough, they will also know when to be dubious about whether a business promoting green services is simply money making or not.

Tai Travis

Global warming is serious so lets put our efforts into what is most effective!
I have a hard time with the idea of a “green website” because websites are inherently the greener alternative!
Websites ARE the green alternative to mail, brochures, catalogs, driving to the store, commuting, big screen televisions, flyers and more.
A green office is great! Offices produce massive amounts of waste.
Don’t print anything that is not necessary. Bike to work or ride public transit. Recycle. Let your computers go to standby mode after 30min.
Seems all a bit silly to me. I wonder how much data is out there that concerns me but I have no direct control of? I suspect its much much higher that 1.55 Mb.

Alan Aragon

Martin Roos

Don’t really understand the angry comments about the politicization here. If you consider the global warming a hoax, have you ever considered that your clients and their customers demand ecology and climate-smart solutions?
Switching to “green web design” will not save our planet, but if you continue to neglect enviromental considerations you’ll lose customers.

Brent Norris

Never dreamed one day we would be considering our negative impacts before we measured our positive impacts.

Listen up kids. We designed this Internet thing so you wouldn’t have to use concrete and big trucks to build another strip mall. We designed this thing so you wouldn’t have to drive to a store. We designed the world’s largest machine so you don”t have to scribble all you ideas on paper and use stamps to send them anywhere, one at a time. We designed the internet so you can learn more things more quickly about your environment. When the designs are in place, computing will be zero emissions.

So when the former Luddite environmentalists tell you computers and tubes are harming the environment. Ask them what they’ve done in the last thirty years to help save the planet.

Three things environmentalist/ism hasn’t done.
1. Reduce the price of food or water.
2. Increase the quality of our air supply.
3. Promoted the fact the internet is saving the planet.

Without computers and the internet environmentalists like myself could never convince a gazillion people the Earth is warming or cooling or even changing.

Designers have a much larger role than whipping out your pages or your scripts and seeing who has the biggest. Designers have completely changed the world and we’ll continue to do so.

And keep this in your notes… Synthetic biology is also a design problem that will be conceptualized, designed and only then will it be modeled or coded or whatever you have to do with our designs to make our world work more efficient.

Now get back to reducing you page sizes. I’m tired of waiting for this lame-a** verizon connection in the middle of the forest.

olivia

Todd

Travis

I see a lot of people instantly jumping on the edge here. What if it was to say “Make your site MORE EFFICIENT” instead of “Green”? Same idea, just we are all about Green today so why not use that marketing edge? I think its a cool idea and something we normally don’t think about.

Same premise of going out and buying energy efficient bulbs instead of normal bulbs, you still get light but it saves you money and conserves power. Or an energy efficient air conditioner for your server room instead of a large energy consuming clunker. Same premise again.

Instead of complaining about this, think of it that most developers and designers try to make their sites more “efficient”. So all your hearing now is that you have possibly been doing more than just making your site “efficient”, so just nod your head and move on.

Subscribe to our email newsletter for useful tips and valuable resources, sent out every second Tuesday.

It's finally here. Smashing Book #5, our new book on real-life responsive design. With front-end techniques and patterns from actual projects, it's a playbook to master all the tricky facets and hurdles of responsive design. Get the book.Free shipping.

Fixing RWD issues can be quite easy — once you understand exactly why they come up. The Mobile Web Handbook will help you understand technical issues on mobile and how to deal with them effectively.

Hungry for more content? Over 60 eBooks are waiting to be discovered in our lovely Smashing Library. And guess what? You can watch Smashing Conference talks there, too.