Every byte transferred, every CPU cycle spent rendering a page, has a real energy cost somewhere in the chain - a data centre, a network, a user's device. That cost is small per page view and genuinely significant at scale, across millions of visits.
Most of the fix list is already familiar
<img src="hero.webp" width="1200" height="600" loading="lazy" alt="...">
Compressed, correctly sized images; minimal, necessary JavaScript; efficient fonts - nearly everything that makes a site measurably faster also makes it measurably lighter to serve, which is a genuinely convenient overlap.
Hosting choices matter too
Where a client's traffic and requirements allow it, we've started favouring hosts that report on or actively purchase renewable energy - a factor that wasn't part of a typical hosting conversation even a couple of years ago.
A useful, if imperfect, way to measure it
# Website Carbon-style estimate, roughly:
# grams CO2 ≈ page weight (MB) × energy intensity × grid carbon intensity
The estimate is rough by nature, but even a rough number has been useful for making the environmental angle concrete in a client conversation, rather than an abstract gesture.
Page weight is an energy number, not just a speed number
Every megabyte transferred and every CPU cycle spent rendering a page draws real electricity, at the data center, across the network, and on the visitor's device - at global scale, the web's aggregate carbon footprint is comparable to the aviation industry's. Making a page lighter is a performance win and an emissions reduction at the same time, which is a useful framing for making the business case internally.
<img srcset="hero-480.webp 480w, hero-960.webp 960w" sizes="(max-width: 600px) 480px, 960px" alt="…">
The practices overlap almost entirely with performance best practice
Serving appropriately sized, modern-format images, minimizing unused JavaScript, and choosing a green-hosted CDN are simultaneously a sustainable-design practice and a straightforward performance win - the two goals rarely conflict, which makes sustainability one of the easier arguments to make to a client who might not otherwise prioritize an environmental angle on their own.