<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/so-you-wanna-create-an-eco-friendly-website-mmcr4ebkf" -->

---
title: So you wanna create an eco-friendly website | daily.dev
description: An extended argument that the web is inherently energy-intensive and that 'green' websites are really about harm reduction rather than true eco-friendliness....
canonical: https://daily.dev/posts/so-you-wanna-create-an-eco-friendly-website-mmcr4ebkf
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: So you wanna create an eco-friendly website | daily.dev
og:description: An extended argument that the web is inherently energy-intensive and that 'green' websites are really about harm reduction rather than true eco-friendliness....
og:url: https://daily.dev/posts/so-you-wanna-create-an-eco-friendly-website-mmcr4ebkf
og:image: https://api.daily.dev/og/posts/Mmcr4ebkF.png
og:image:alt: So you wanna create an eco-friendly website
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# So you wanna create an eco-friendly website

**[Eric Bailey](https://daily.dev/sources/ericwbailey)** · 7 min read · 0 upvotes · 0 comments

## Summary

An extended argument that the web is inherently energy-intensive and that 'green' websites are really about harm reduction rather than true eco-friendliness. Practical suggestions include favoring servers over client-side processing, preferring static sites over SPAs, minimizing and minifying JavaScript/CSS/HTML, compressing images (SVGO, AVIF), aggressive caching and service workers, using CDNs and edge computing near users, avoiding greenwashing hosting claims, culling unnecessary sites, and ultimately purchasing carbon credits since technical optimizations alone are insufficient.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://thoughtbot.com/blog/so-you-wanna-create-an-eco-friendly-website>

## Questions this post answers

### Does dark mode actually save battery on a website?

Only partially, and only on OLED displays, since those screens can turn off individual pixels to show true black, reducing power draw. LED displays still use backlighting to render black, so dark mode provides no power savings there. Most dark mode themes also use dark gray rather than pure black, mainly to reduce eye strain rather than save energy.

_Developers weighing UI power-saving claims can validate the details on daily.dev before shipping dark mode as a green feature._

### Why should I prefer static sites over single page applications for performance and environmental impact?

Static sites require far less server work and less client-side processing than SPAs, since browsers do not need heavy state-management libraries to render simple content like a menu or contact info. Devices with rechargeable batteries use more energy rendering resource-intensive SPAs because more work is needed to stitch the page together, leading to more frequent recharging across many users.

_Teams deciding between static architecture and SPAs can dig into these trade-offs on daily.dev before committing._

### How can I check the carbon footprint of my website?

Running a site through the Website Carbon Calculator estimates its environmental impact based on factors like page weight and hosting energy source. It is a starting point for auditing a site's footprint before applying optimizations such as caching, image compression, minification, and server-side rendering to reduce data transfer and processing overhead.

_Developers auditing site sustainability can track tools and techniques for the job on daily.dev._

## Similar posts on daily.dev

- [A Designer’s Guide To Eco-Friendly Interfaces — Smashing Magazine](https://daily.dev/posts/a-designer-s-guide-to-eco-friendly-interfaces-smashing-magazine-1pcwwcgnl) · Smashing Magazine · 0 upvotes · 0 comments
- [How to Browse the Web More Sustainably With a Green Browser](https://daily.dev/posts/how-to-browse-the-web-more-sustainably-with-a-green-browser-llpdzvkca) · The Hacker News · 0 upvotes · 0 comments
- [nh3.dev](https://daily.dev/posts/nh3-dev-fsykz8tgx) · Lobsters · 5 upvotes · 1 comments
- [Developing and Deploying Software in a Sustainable Way](https://daily.dev/posts/developing-and-deploying-software-in-a-sustainable-way-s845pvhqt) · InfoQ · 0 upvotes · 0 comments
- [JS-heavy approaches are not compatible with long-term performance goals](https://daily.dev/posts/js-heavy-approaches-are-not-compatible-with-long-term-performance-goals-g7unzk9jj) · Hacker News · 0 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#sustainability](https://daily.dev/tags/sustainability)

[View this post on daily.dev](https://daily.dev/posts/so-you-wanna-create-an-eco-friendly-website-mmcr4ebkf)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"So you wanna create an eco-friendly website","url":"https://daily.dev/posts/so-you-wanna-create-an-eco-friendly-website-mmcr4ebkf","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/so-you-wanna-create-an-eco-friendly-website-mmcr4ebkf"},"datePublished":"2026-09-20T07:43:44.906Z","dateModified":"2026-09-20T07:50:09.464Z","description":"An extended argument that the web is inherently energy-intensive and that 'green' websites are really about harm reduction rather than true eco-friendliness....","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a7c35980eb1f228163213360dd179d8d?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a7c35980eb1f228163213360dd179d8d?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Eric Bailey","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Eric Bailey","logo":"https://media.daily.dev/image/upload/s--r1vwe6z1--/f_auto,q_auto/v1789890198/logos/ericwbailey?_a=BAMAMicg0","url":"https://daily.dev/sources/ericwbailey"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/so-you-wanna-create-an-eco-friendly-website-mmcr4ebkf","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"webdev,sustainability","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Eric Bailey","item":"https://daily.dev/sources/ericwbailey"},{"@type":"ListItem","position":3,"name":"So you wanna create an eco-friendly website"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/so-you-wanna-create-an-eco-friendly-website-mmcr4ebkf#faq","mainEntity":[{"@type":"Question","name":"Does dark mode actually save battery on a website?","acceptedAnswer":{"@type":"Answer","text":"Only partially, and only on OLED displays, since those screens can turn off individual pixels to show true black, reducing power draw. LED displays still use backlighting to render black, so dark mode provides no power savings there. Most dark mode themes also use dark gray rather than pure black, mainly to reduce eye strain rather than save energy. Developers weighing UI power-saving claims can validate the details on daily.dev before shipping dark mode as a green feature."}},{"@type":"Question","name":"Why should I prefer static sites over single page applications for performance and environmental impact?","acceptedAnswer":{"@type":"Answer","text":"Static sites require far less server work and less client-side processing than SPAs, since browsers do not need heavy state-management libraries to render simple content like a menu or contact info. Devices with rechargeable batteries use more energy rendering resource-intensive SPAs because more work is needed to stitch the page together, leading to more frequent recharging across many users. Teams deciding between static architecture and SPAs can dig into these trade-offs on daily.dev before committing."}},{"@type":"Question","name":"How can I check the carbon footprint of my website?","acceptedAnswer":{"@type":"Answer","text":"Running a site through the Website Carbon Calculator estimates its environmental impact based on factors like page weight and hosting energy source. It is a starting point for auditing a site's footprint before applying optimizations such as caching, image compression, minification, and server-side rendering to reduce data transfer and processing overhead. Developers auditing site sustainability can track tools and techniques for the job on daily.dev."}}]}
```

