---
title: "Tech Tip #77: Make your website grid-aware"
description: "What if your website went lighter when the grid gets dirtier?"
url: https://greencode.ai/tech-tips/77-make-your-site-grid-aware/
---

# Tech Tip #77: Make your website grid-aware

**What if your website went lighter when the grid gets dirtier?**

### The problem

Websites deliver the same heavy experience whatever the visitor's electricity grid is doing at that moment.

### The fix you can use today

- Check the carbon intensity of the visitor's region at request time.
- When it is high, switch to a lighter version: fewer or smaller images, no autoplay, fewer animations.
- Keep content and function the same; change only the extras.

The Green Web Foundation suggests websites that get lighter when the grid is dirtier. GreenCode keeps advice like this in mind in its work.

### Tools that help

- [Grid-aware websites toolkit](https://developers.thegreenwebfoundation.org/grid-aware-websites/overview/?utm_source=greencode.ai&utm_medium=referral&utm_campaign=greencode) (Green Web Foundation): an open-source library, design patterns and plugins for adapting a site to the visitor's grid carbon intensity
- [CO2.js](https://developers.thegreenwebfoundation.org/co2js/overview/?utm_source=greencode.ai&utm_medium=referral&utm_campaign=greencode) (Green Web Foundation): an open-source library that turns bytes transferred into an estimate of CO2, using the Sustainable Web Design model

### How GreenCode helps

GreenCode helps tackle this by showing, in the footer of every page on greencode.ai, how much data the view transferred and an estimate of its carbon, worked out with CO2.js from what the page actually loaded. [More on this](https://greencode.ai/green-hosting/).

### Tags

#carbon-aware#web-performance#ux

### Sources

- [Green Web Foundation, Grid-aware websites](https://developers.thegreenwebfoundation.org/grid-aware-websites/overview/?utm_source=greencode.ai&utm_medium=referral&utm_campaign=greencode)
- [Further resources: grid-aware websites](https://greencode.ai/further-resources/)
- [W3C, Web Sustainability Guidelines: carbon-aware design that reduces high-impact features](https://www.w3.org/TR/web-sustainability-guidelines/#carbon-aware-design)

[All GreenCode Tech Tips](https://greencode.ai/tech-tips/)

#### Key Facts

- Tip **#77**
- For **Developers**
- Category **Web and front-end**
- Format **short video**
![GreenCode](https://greencode.ai/wp-content/uploads/2024/12/greencode-logo-website-small-colours-2.webp)

Want this checked on your own system? Talk to the GreenCode team.

[Get in touch](https://greencode.ai/contact/)
