Could blocking unwanted WordPress requests actually reduce carbon emissions? We think our Deny All Firewall plugin could avoid around 100 kg of CO2 emissions a year on a heavily scanned website. That’s roughly comparable to the direct emissions attributed to one passenger flying one-way from London to Ibiza. Here’s why we think the numbers add up.
We made a fairly bold claim about our Deny All Firewall WordPress plugin:
On a heavily scanned WordPress site blocking around 50,000–100,000 unwanted requests per day, we estimate that Deny All Firewall could avoid approximately 100 kg of CO2 emissions per year … roughly comparable to the direct emissions attributable to one passenger on a one-way flight from London to Ibiza.
That sentence quite reasonably raises two questions: how on earth can a firewall reduce carbon emissions, and did somebody decide on Ibiza first and then invent the mathematics afterwards?
The short answers are “by stopping the server doing pointless work” and “no”.
Here is the longer answer … with the maths available for anyone who wants it.
The internet is remarkably noisy
A public website does not receive requests only from prospective customers, loyal readers and your mum checking whether you have fixed that typo.
It also receives a constant stream of requests from vulnerability scanners, password crackers, content scrapers and bots looking for files that should never be public in the first place.
They request old WordPress exploits, environment files, database backups, private keys and thousands of entirely imaginary pages.
Without early protection, WordPress may end up loading PHP, connecting to its database and running plugins just to discover that /please-let-there-be-a-forgotten-database-backup.sql does not exist.
Deny All Firewall does the opposite. It lets the web server refuse many unwanted requests before WordPress has to do anything at all.
The cheapest WordPress request is the one WordPress never has to process.
How does Deny All Firewall reject requests so early?
Deny All Firewall generates Apache .htaccess rules describing what the website genuinely needs to make public. Requests outside those rules can be rejected by Apache before PHP, WordPress and the database get involved.
That is different from a WordPress plugin examining a suspicious request after WordPress has already loaded. The rejection still takes some work, of course, but it avoids a great deal of unnecessary processing.
So what does a WordPress request actually cost?
There is no single answer. A small cached website and a large WooCommerce installation with dozens of plugins obviously do not require the same amount of work. Hosting hardware, database performance and the electricity supply all vary too.
Fortunately, we are not completely without measurements.
A 2026 university study, Energy Consumption of Web Servers: A Comparison Between Dynamic and Static Approaches, compared dynamic WordPress with cached and statically generated versions running on Apache.
In its test, serving dynamic WordPress pages required considerably more power than serving static or cached pages. That makes sense: generating a page involves more work than returning content that has already been prepared.
It doesn’t mean every WordPress request consumes an identical amount of electricity, but it gives us some useful evidence that not running WordPress can make a meaningful difference.
What did the university study actually measure?
At 16 requests per second, the dynamic WordPress installation used approximately 27 watts. The static and cached versions used less than one watt. The dynamic version topped out at around 20 requests per second, while the static version handled thousands.
Using one watt as a deliberately cautious static-serving comparison gives the calculation below. This is an approximate difference per request for that experiment at that load, not a universal energy cost for every WordPress request.
Our firewall response is not literally the same thing as serving a static page. The relevant similarity is that Apache can refuse the request without starting WordPress.
(27 watts − 1 watt) ÷ 16 requests per second
= 1.625 joules per request
Processing is only part of it
Without early rejection, the server may also return an entire HTML response to the bot. It probably won’t download every image and font afterwards, but that initial response still has to travel across the network.
The Sustainable Web Design Model version 4 provides a way to estimate the energy and emissions associated with transferring that data.
It isn’t a magic carbon meter attached to our firewall. It’s a model, and we need to be clear about the assumptions we feed into it.
How does the data-transfer emissions model work?
The model estimates operational energy intensity at 0.055 kWh per GB for data centres, 0.059 kWh per GB for networks and 0.080 kWh per GB for visitor devices. We exclude the visitor-device figure because these are automated requests, not people viewing the website on laptops.
Using the model’s global grid intensity of 494 gCO2e per kWh, the combined data-centre and network estimate works out at approximately 56.3 grams of CO2 equivalent per GB transferred. This is also the model used by the Green Web Foundation’s CO2.js.
We use this combined estimate rather than adding the separate CPU calculation on top, which could count some data-centre energy twice.
(0.055 + 0.059) kWh per GB × 494 gCO2e per kWh
= approximately 56.3 gCO2e per GB transferred
So how many blocked requests make 100 kg?
One hundred kilograms per year works out at approximately 274 grams per day. The number of requests needed depends on how much data each early rejection avoids.
Under the assumptions above, avoiding a 100 KB HTML response around 49,000 times a day comes close to 100 kgCO2e per year. If the response is only 50 KB, we’d need around 97,000 blocked requests a day.
That is why our estimate refers to a heavily scanned website blocking around 50,000–100,000 unwanted requests per day. It does not apply automatically to every WordPress installation.
Show me the calculation and the different response sizes
Using the Sustainable Web Design Model’s combined data-centre and network estimate, the approximate daily request counts needed to reach 100 kgCO2e per year are:
20 KB per response: about 243,000 requests per day.
50 KB per response: about 97,000 requests per day.
100 KB per response: about 49,000 requests per day.
For example, avoiding a 50 KB response saves approximately 0.0028 gCO2e under the model. Around 35.5 million such responses add up to 100 kgCO2e, equivalent to approximately 97,000 requests a day.
This model does not separately add the measured WordPress-versus-static CPU difference. A particularly expensive dynamic request could require more processing than this transfer-based estimate captures.
One request per second sounds bonkers until you look at the access logs of a public website.
Automated traffic does not sleep, take weekends off or get bored after trying /.env for the four-hundredth time.
Some websites under sustained scanning comfortably exceed these numbers. Quiet sites won’t.
If a website receives only 5,000 relevant unwanted requests a day, the saving under the same assumptions may be nearer 5–15 kg a year. Less dramatic, obviously, but still electricity being spent doing absolutely nothing useful.
What about caching and Cloudflare?
Caching can substantially reduce the work involved in serving pages. A request handled entirely by Cloudflare or another CDN might never reach the hosting server at all.
But vulnerability scanners often try unique addresses, strange query strings and sensitive filenames. Those requests are less likely to benefit from an ordinary page cache.
Deny All Firewall isn’t a replacement for caching or Cloudflare. They solve overlapping but different problems.
The useful principle is to reject unwanted work at the earliest reliable opportunity.
And the flight to Ibiza?
London to Ibiza is approximately 1,400 kilometres. Using the UK Government’s international short-haul aviation conversion factors, direct emissions attributable to one economy passenger on a one-way journey are broadly in the same neighbourhood as 100 kg.
That’s where the comparison comes from. Not from choosing a holiday destination and working backwards!
But there’s an important distinction between direct emissions and the wider climate effects of flying, so we’ve been careful about the wording.
Roughly comparable to the direct emissions attributable to one passenger on a one-way flight from London to Ibiza.
It illustrates the scale. It is not an argument that blocking malware scans somehow earns anybody a guilt-free holiday in Ibiza.
Why do different flight calculators give different figures?
Some mainly report direct greenhouse-gas emissions from burning and supplying aviation fuel. Others include a radiative-forcing uplift to account for additional effects at altitude, including contrails.
Include that uplift and the estimated climate effect of the same flight can exceed 200 kgCO2e. We are using the narrower direct-emissions comparison, not saying that 100 kg captures every climate impact of the flight.
The UK Government publishes conversion factors and methodology for anyone interested in how the figures are calculated.
So is 100 kg guaranteed?
No … and any honest estimate of digital emissions needs to say so.
The result depends on how many unwanted requests arrive, how expensive they would have been to process, what the normal responses would have contained, how much caching is involved and where the electricity comes from.
The Sustainable Web Design Model is an estimate based partly on data transfer. It cannot measure the complete physical impact of every individual request across the hosting and network infrastructure.
So 100 kg is an order-of-magnitude estimate for a heavily scanned website, not a laboratory-certified saving that magically applies to every installation.
The more important point
Whether a particular website saves 10 kg, 100 kg or more, the engineering principle is the same:
Do not run an entire content-management system merely to discover that an obviously unwanted request should be refused.
Early rejection improves security, frees up server capacity and reduces unnecessary processing and data transfer.
The carbon saving isn’t some separate green feature bolted onto the plugin afterwards. It’s simply a consequence of making the server do less pointless work.
Security software occasionally gets to say “no” for the good of the planet.
Admittedly, it mostly just enjoys saying “no”.
References and further reading
- Energy Consumption of Web Servers: A Comparison Between Dynamic and Static Approaches
- Sustainable Web Design Model version 4: Estimating Digital Emissions
- Green Web Foundation: CO2.js models
- International Energy Agency: Data centres and data transmission networks
- UK Government greenhouse-gas reporting conversion factors

Leave a Reply