COP28 UAE: A Low Carbon Website Review
Published:
Mentioned in 2 posts
Table of Contents
COP28 is rolling around soon. Itâs around about a month away at the time of writing. So ⌠yep, that means itâs time to take a look at the COP28 website and see how it stacks up in terms of web sustainability. If youâre interested in what my past reviews of COP websites have uncovered, you can read my takes on the COP26 (Glasgow) and COP27 (Sharm El-Sheik) websites.
What weâll look at
Section titled What weâll look atThis blog post is very much a sequel to Michelle Barkerâs excellent Greenwashing and the COP28 Website post. Iâll refer to it a few times through this review, and I strongly urge you to give it a read.
This review will differ from my previous COP website reviews. It wonât focus on how the website performs, what its Core Web Vitals are, or try to estimate the carbon emissions of the site. I wonât even be checking the site against the recently published Web Sustainability Guidelines (WSG) 1.0 (cool idea though, any takers?).
This review will focus nearly entirely on the implementation of just one ⌠uh ⌠feature - the âSwitch to Low Carbon Versionâ toggle that is found in the site header.
The website Iâll be looking at is https://www.cop28.com/en/, and my analysis was performed between October 27 and October 31, 2023.

Credit where itâs due
Section titled Credit where itâs dueFirstly, hey, credit to the team behind the COP28 website for actually giving some thought to making a sustainable website. Unlike the past two COP websites Iâve checked, this one does show as being âgreen hostedâ when checked on the Green Web Foundationâs Green Web Check tool.
The fact that thereâs a âlow carbon versionâ of the site might also be seen as a good start. I was honestly surprised when I first checked this site a couple of months ago and saw the toggle there. But, after looking into it a bit more at that time I was let down by how little the toggle actually did. Michelle has done a great job of capturing those sentiments in her post (did you read it yet?).
Website updates
Section titled Website updatesSince Michelleâs post went live, there have been some updates made to the way the low carbon toggle functions on the COP28 site. When Michelle examined the page, the toggle simply hid images visually, though they were still being downloaded. A recent change (as highlighted in this ABC News article) now results in the page reloading when the toggle is triggered. This means that images are no longer downloaded in the background on the âLow Carbon Versionâ of the site.
As weâll see through the post, despite the changes mentioned above which address **some** of the shortcomings highlighted in Michelleâs post, the COP28 website still leaves a lot to be desired when it comes to showcasing low carbon web design and development.
The Full Experience
Section titled The Full ExperienceWhen a visitor first lands on the COP28 website, they are presented with what the website calls the âFull Experienceâ. This is apparently the feature-rich version of the site, with the primary feature seeming to be the presence of images on the page (this bit of sarcasm will make sense soon). Most of the homepage is text, images, and a slider-carousel thing at the top. A couple of videos are available to view, but donât load anything without user interaction. A nice touch.
Other pages on the site are mostly text and images.
In order for this âFull Experienceâ of text and pictures to happen, the user is made to download the siteâs main JavaScript bundle. When I checked, the bundle was 527 kB in size. Thatâs half a megabyte just to read some text and see some photos. A lot of the rest of this post focuses on the main JS bundle.

Switching to the Low Carbon Version
Section titled Switching to the Low Carbon VersionSomeone coming to the website for the first time might see the toggle at the top saying âSwitch to Low Carbon Versionâ. Curiosity could get the better of them while the page is loading, and so they click on the toggle. If theyâre lucky, it responds to the click. If theyâre on a slower network connection or a low-spec device, though, it probably wonât.
Thatâs what happened to me the first time I visited the site. As the page was loading, I saw the toggle at the top and you bet I clicked it. I took this action before the images in the carousel slider were loaded. But nothing happened. So I clicked it again. Nothing still. Finally on the third time of trying, it worked! But why did it take so long?
It turns out, that all the logic for the toggle and its subsequent behaviour (setting/unsetting the low-carbon-mode key in local storage) is baked into that 500+kB main JavaScript file. So, for the âlow carbon toggleâ to be useful at all any visitor must wait for their browser to download, parse, and execute that JS file. And if youâve got JavaScript disabled (or the download fails), then you better get your COP28 information from somewhere else!
An underwhelming experience
Section titled An underwhelming experienceNow, weâre finally on the âLow Carbon Versionâ of the website. Getting there requires the page to reload, but thankfully caching avoids us having to re-download the main JavaScript file. That doesnât mean the parsing and execution get skipped though.
Anyway, boy oh boy is the low carbon site a let down. It feels as though little-to-no creative thought has gone into designing a low-carbon web experience here. I feel like an arse for saying that, especially given my lack of digital design chops, but that is genuinely how I feel when looking at the low carbon version of this website. This was a chance to showcase creative, engaging Sustainable Web Design. Instead the low carbon site might be best described as bland, lifeless, and dull.

The colour images that are a key feature of the âFull Experienceâ, are replaced with boxes of coloured gradients. The page is pretty much just blocks of text floating in space. It gives the impression that something is broken with âLow Carbon Versionâ of the site. A metaphor, perhaps, for the COP process? I digress.
It doesnât have to be this way
Section titled It doesnât have to be this wayLow carbon web design is a burgeoning part of the digital design community. And the challenge to build eye-catching, and interesting low carbon websites hasnât got in the way of many web designers and developers. Just take a look at some of the stunning low carbon designs featured on lowww.directory and lowwwcarbon.
Nothing else really changes
Section titled Nothing else really changesSo, the low carbon version of the website strips out most of the colour images. But (spoiler in the heading) nothing else on the page seems to change all that much.
Weâre still using the same main JS and CSS bundles (~527 kB and ~30kB respectively). Weâre still loading in all the font files (~380 kB). If I click the YouTube video on the homepage, it still loads the whole YouTube embed experience which is another bunch (~1 MB) of JavaScript to download. So really the toggleâs wording could change from âSwitch to Low Carbon Versionâ to simply âRemove Imagesâ.
What difference does it make?
Section titled What difference does it make?Removing images on the homepage sees about a 1.2 MB reduction in the size of the page (including lazy-loaded images). On other sub-pages, using What is the Green Zone? as an example, the reduction is closer to 400 kB. Remember, to achieve this 400 kB saving weâre downloading 520 odd kilobytes of JavaScript. That feels out of whack.
Letâs talk about caching
Section titled Letâs talk about cachingIn reality, weâre not downloading the main JS file each time we navigate to a new page on the site. The file does come with a cache-control: public, max-age=31536000 header, and gets stored in browser cache after itâs first downloaded. As we navigate the âLow Carbon Versionâ of the site weâre not redownloading it, but our devices still have to deal with the computation required to make that JavaScript useable. This happens on each page navigation.
Where caching wonât help, though, is when the website is changed. The main JS file comes with a hash in the filename. At the time I checked the site it was called main.4f6b1b16.js. Since this looks like a React site, it is very likely that the hash value would change if a change is made to the website code. In this way it âbustsâ the cache for that file, meaning it gets downloaded again by any returning visitor.
And that sucks if youâre a returning visitor who last left the site with low-carbon-mode turned on. Returning to the site would mean youâre again downloading the entire JS bundle, just to get that sweet, sweet low carbon experience of text floating in a digital void.
How could it be better?
Section titled How could it be better?Time for a change of mindset. So far, Iâve raised concerns about:
- The âSwitch to Low Carbon Versionâ toggle and how it is implemented.
- The main JS bundle that comes with the site.
- The design of the low carbon version.
For the rest of this post, Iâll be touching on a few ways these could be bettered to deliver a more meaningful low carbon website experience. Iâll go in reverse order of the list above.
Give some thought to low carbon design
Section titled Give some thought to low carbon designIâve already touch on this earlier, but thereâs a bit more to say. A low carbon website doesnât have to be a wall of text. Just check out the two gallery sites Iâve linked to above. Low carbon website designs can be equally as impactful as the so called âfull experienceâ.
One of the things noted in Michelleâs post is that the site downloads multiple TTF font files. These could be replaced with WOFF2 versions for starters, which would reduce the file size. But why not go a step further and see how creative the design team could get with a single variable font, or even just using System Fonts.
Ditch (most of) the JavaScript
Section titled Ditch (most of) the JavaScriptThere is absolutely nothing obvious on this website that screams out as needing over 500 kB of client-side JavaScript to function. Sure, there are elements (like our good friend the low carbon toggle) that require a sprinkling of JavaScript to be useable. But, the site overall could very easily be built using low- or no-JS builders like Astro or Eleventy, rather than React.
This, in turn, would lead to some interesting opportunities to improve the low carbon toggle as well.
Move low carbon detection off the device
Section titled Move low carbon detection off the deviceIf we want to remove most of the client-side JS, how would low carbon mode detection still work? A combination of cookies, and edge compute would make it possible to still have a working toggle for a fraction of the client-side JavaScript.
This is made possible because when a user toggles low carbon mode, the page reloads from the server. As a result, itâs possible to intercept those requests and deliver a low carbon page directly to browser. Hereâs how it might work:
- The client-side code for the toggle sets as cookie to indicate the user wants low carbon mode. This could probably be done in less than a dozen lines of JS.
- When the toggle is changed, the page reloads.
- During this process, the response to the browser is intercepted by an edge worker (think Cloudflare Workers, Vercel Edge Function etc.)
- The edge worker looks for the cookie and based on its content returns the HTML for a âlow carbonâ or âfull experienceâ page to the browser.
But howâs this any better for sustainability?
Surely running all this stuff at the edge for tens of thousands of requests produces more CO2? Fair point. Hereâs why I think this approach is more sustainable.
- We have no control over user devices. By removing the JS needed to check and deliver the low carbon site from the userâs device weâre benefiting all users. Those on better devices get an even faster experience, and those on low-spec devices donât get bogged down as the page tries to load.
- Edge workers are hyper-optimised for this kind of task. Running our compute there would take a fraction of the time (and therefore energy) compared to running it on the client.
- We can improve this further by choosing edge providers who are taking steps to try and ensure as much of their network is powered by green energy or are mitigating the emissions of their operations. Weâve got much more control over this decision than we do over what energy is powering the devices our users have.
Itâs worth noting that this is just my (slightly informed) opinion. Especially the second point isnât based on any hard data Iâve seen. If you do have data or research around this, Iâd love to hear about it!
Low carbon by default? Nah, not yet
Section titled Low carbon by default? Nah, not yetIn Michelleâs post, she mentions that the low carbon version of the site should be the default experience. I share this opinion in principle. But. The low carbon experience of the COP28 website as it is today is not suitable to be the default version of the website. It would give a lot of users a very wrong impression of what low carbon web design is all about. For mine, that would be more detrimental than helpful.
Hopefully, though, between now and the start of COP28 we see further changes to the site and a more thoughtful, well designed âLow Carbon Versionâ.