Making The Web A Better Place: Guidelines For “Green” Web Design

Advertisement

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!

Screenshot2
Image credit3

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”.

7
CO2Stats86 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

Results of various web optimization studies published at websiteoptimization.com9 in July 2010 state that:

“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:

W3C Principles

  • Web for All
  • Web on Everything

W3C Vision

  • Web for Rich Interaction
  • Web of Data and Services
  • Web of Trust

The consortium also has a dedicated section for web design standards and applications15:

  • HTML and CSS
  • Scripting and Ajax
  • Graphics
  • Audio and Video
  • Accessibility
  • Internationalization
  • Mobile Web
  • Privacy
  • Math on the Web

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.

16
You can make the Web a better place by keeping your website clean and well-organized. And if you do, you can put badges to make it clear to your potential clients, for instance CO2 Neutral Website17 (not free) or My Blog Is Carbon-Neutral Badge18 (free).

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.

24

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.

27

The hex codes are as follows:

  • #822007 (rusty red)
  • #000000 (black)
  • #b2bbc0 (blue grey)
  • #19472a (forest green)
  • #3d414c (cobalt)
  • #ffffff (white)

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.

30
Small behavioral changes can make a big difference

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.

39

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!

Partial Bibliography

(afb)

Footnotes

  1. 1 http://www.smashingmagazine.com/2010/08/11/the-future-of-the-internet/
  2. 2 http://www.flickr.com/photos/swarmoeskerken/2620938431/
  3. 3 http://www.flickr.com/photos/swarmoeskerken/2620938431/
  4. 4 http://discovermagazine.com/2007/jun/how-much-does-the-internet-weigh
  5. 5 http://earth2tech.com/2010/04/19/how-much-energy-per-tweet/
  6. 6 http://www.co2stats.com/
  7. 7 http://www.co2stats.com/
  8. 8 http://www.co2stats.com/
  9. 9 http://www.websiteoptimization.com/speed/tweak/average-web-page/
  10. 10 http://www.websiteoptimization.com/speed/tweak/http/
  11. 11 http://www.websiteoptimization.com/speed/tweak/css-sprites/
  12. 12 http://www.websiteoptimization.com/speed/tweak/suture/
  13. 13 http://www.w3.org
  14. 14 http://www.w3.org/Consortium/mission.html
  15. 15 http://www.w3.org/standards/webdesign/
  16. 16
  17. 17 http://www.co2neutralwebsite.com/
  18. 18 http://www.kaufda.de/umwelt/carbon-neutral/how-you-can-join/
  19. 19 http://www.infoworld.com/t/platforms/google-energy-issue-not-black-and-white-687
  20. 20 http://www.blackle.com/
  21. 21 http://enduse.lbl.gov/Info/LBNL-48581.pdf
  22. 22 http://www.onlineleaf.com/
  23. 23 http://wordpress.org/extend/plugins/online-leaf/
  24. 24 http://wordpress.org/extend/plugins/online-leaf/
  25. 25 http://ecoiron.blogspot.com/2007/01/black-google-would-save-3000-megawatts.html
  26. 26 http://ecoiron.blogspot.com/2007/01/emergy-c-low-wattage-palette.html
  27. 27 http://www.smashingmagazine.com/wp-content/uploads/2010/08/EMERGY-C.jpg
  28. 28 http://www.treehugger.com/files/2007/05/plethora_of_opt.php
  29. 29 http://webhostinggeeks.com/greenwebhosting.html
  30. 30 http://www.smashingmagazine.com/wp-content/uploads/2010/08/chalkboard.gif
  31. 31 http://en.wikipedia.org/wiki/Tim_Berners-Lee
  32. 32 http://www.w3.org/History/1989/proposal.html
  33. 33 http://www.inspyder.com/products/OrFind/Default.aspx
  34. 34 http://www.macupdate.com/info.php/id/12275/sitecleaner
  35. 35 http://mac.softpedia.com/get/HTML-Tools/Website-Cleaner.shtml
  36. 36 http://websiteoptimization.com/services/analyze/
  37. 37 http://getfirebug.com/
  38. 38 http://code.google.com/speed/page-speed/
  39. 39 http://getfirebug.com/
  40. 40 http://jquery.com/
  41. 41 http://mootools.net/
  42. 42 http://www.smashingmagazine.com/2010/01/06/page-performance-what-to-know-and-what-you-can-do/
  43. 43 http://www.smashingmagazine.com/2009/07/01/clever-jpeg-optimization-techniques/
  44. 44 http://www.smashingmagazine.com/2009/07/15/clever-png-optimization-techniques/
  45. 45 http://technology.timesonline.co.uk/tol/news/tech_and_web/article5489134.ece
  46. 46 http://www.timesonline.co.uk/tol/news/environment/article5488934.ece
  47. 47 http://adamant.typepad.com/seitz/2007/06/the_sincerest_f.html
  48. 48 http://www.w3.org/
  49. 49 http://www.websiteoptimization.com/speed/tweak/average-web-page/
  50. 50 http://www.google.com/corporate/green/datacenters/
  51. 51 http://green-conf.org/index.html
  52. 52 http://ecoiron.blogspot.com/2007/08/history-in-january-2007-mark-ontkush.html

↑ Back to top Tweet itShare on Facebook

Alison is a journalist, print + web designer and avid communicator of everything that is science media.

Advertising
  1. 1

    Global Warming Petition Project

    September 21, 2010 8:36 am

    http://www.petitionproject.org/

    “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

      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.

      1
  2. 103

    That wordpress plugin; doesnt that use more CPU = more heat / power ? (just wondering)

    0
  3. 154

    SM – how much did u get from CO2Stats and what percentage the author Alison Fay Binney took.. just curious !!

    0
    • 205

      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.

      1
  4. 256

    I find it very positive – check this out: http://www.co2neutralwebsite.com/movie

    0
  5. 307

    Wow. I can’t believe this. “Go Green Website” energy efficient color palette? Use less jquery for less CPU power? I like that. Very cool

    -1
  6. 358

    `one could equally argue that it is still litter that could just as well be gotten rid of.`

    Maybe you could ask the folk of Harvard how much it would cost in energy to go round looking for all this litter in our sites and then go deleting them all.

    A 10Kb file does not need to be cooled get a grip.

    I was on the understanding that processors generating heat would be ‘processing’. Small ‘unused’ files would not be doing much processing as they’re unused!

    argument: “…hmmm yes, but they will still be using some energy and it all adds up!”…
    (^in a very posh accent)

    reply: “…about as much as energy produced by all the Tape Worms found in every 10 year old’s bum crack.”

    My opinion, a brilliant example of the world gone mad.

    0
  7. 409

    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.

    0
  8. 460

    lol, too bad the less energy consuming color palette is only suitable for the sites of the different communist parties :)))

    -1
  9. 511

    Loved the idea of the Energy Saving mode as screen saver…Great content!

    -1
  10. 562

    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.

    0
  11. 613

    The points you discussed about making a web green is truly commendable and appreciable. It will help us because its avoid the use of paper and make environment better for us.

    0
  12. 664

    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.

    Mycologist Paul Stamets has an interesting take. He believes, “…the Earth invented the Internet to save itself.”
    http://www.ted.com/talks/paul_stamets_on_6_ways_mushrooms_can_save_the_world.html

    and I do too.

    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.

    1
  13. 715

    pocas veces me he reido tanto… vaya tonteria…

    0
  14. 766

    i really belive that it can change difficult situation with our inviroment

    0
  15. 817

    Give me a break. Get a life.

    0
  16. 868

    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.

    1

↑ Back to top