Residential proxies are billed by the gigabyte, so every byte a scraper downloads has a price. Most advice about cutting that cost is qualitative: block images, avoid browsers, use the API. We wanted numbers. We loaded ten real public pages through the same residential proxy in five different ways and measured every byte. Here is what a page actually costs, and how much each technique saves.
How we measured
Each page was fetched through a sticky German residential session, from a cold cache every time:
| Method | What it loads |
|---|---|
| HTTP fetch | The HTML document only, compressed, as a plain HTTP client would |
| Full browser | Everything Chrome loads: scripts, styles, images, fonts, video, ads, trackers |
| No media | Chrome, with images, video and fonts blocked |
| No media, no other domains | As above, plus every request to a domain other than the page’s own |
| No media, no other domains, no CSS | As above, plus stylesheets |
For the browser methods we summed the bytes Chrome received over the network for every request, until six seconds after the page finished loading. The ten pages covered an encyclopedia article, two news front pages, a code repository, a Q&A page, two product pages, a film page, a documentation page and a brand homepage.
The results
Two of the ten sites returned block pages to every method, so we left them out. For the other eight, in kilobytes (KB) and megabytes (MB):
| Page | HTTP fetch | Full browser | No media | No media, no other domains | Requests, full |
|---|---|---|---|---|---|
| Wikipedia article | 65 KB | 627 KB | 512 KB | 383 KB | 47 |
| BBC News | 80 KB | 2.2 MB | 1.5 MB | 106 KB | 138 |
| The Guardian | Blocked | 1.1 MB | 642 KB | 81 KB | 90 |
| GitHub repository | 64 KB | 2.0 MB | 1.9 MB | 69 KB | 144 |
| Allbirds product | 117 KB | 6.3 MB | 3.6 MB | 1.4 MB | 343 |
| IKEA product | 163 KB | 2.1 MB | Timed out | 1.8 MB | 372 |
| Python documentation | 6 KB | 35 KB | 34 KB | 34 KB | 20 |
| Apple homepage | 43 KB | 2.6 MB | 592 KB | 592 KB | 50 |
| Summary | Median |
|---|---|
| Full browser load | 2.0 MB |
| HTML-only fetch | 65 KB |
| Full browser as a multiple of the HTML fetch | 28 times |
| Saving from blocking images, video and fonts | 30% |
| Saving from also blocking other domains | 78% |
What the numbers say
A browser costs an order of magnitude more. For the seven pages that served both, a full browser load used a median of 28 times the bytes of fetching the HTML alone, and up to 61 times on the Apple homepage. At the median, 1,000 full browser loads use about 2 GB; 1,000 HTML fetches use about 65 MB. If the data you need is in the HTML, a plain HTTP client is by far the cheapest way to get it.
Blocking media helps, unevenly. Blocking images, video and fonts saved a median of 30%, but the range was huge: 77% on Apple’s image-led homepage, 42% on the Allbirds product page, 6% on the GitHub repository and 3% on the documentation page. Where the weight is scripts, blocking media barely matters.
Other domains are most of the weight. On the news pages and GitHub, blocking requests to other domains cut the page from megabytes to under 110 KB. Those requests are ads, analytics, trackers and embedded players, and they are rarely what a scraper wants.
Stylesheets are cheap. Also blocking CSS saved little more: a median of 230 KB against 244 KB without it.
A block costs bytes too. One of the excluded sites served a challenge page to every method, and in a full browser that refusal still cost 2.0 MB. Failed requests are not free.
The catch: blocking can break pages
Blocking “other domains” is blunt. Many sites serve their own scripts and styles from a separate domain: BBC from one, GitHub from another. Our rule blocked those too. The HTML still arrived, so server-rendered text was there, but anything a page builds with JavaScript from those domains would be missing.
The reverse also happens. The Guardian refused our plain HTTP client but served all four browser methods, so the cheapest method is not always available. Our test of Python HTTP clients’ TLS fingerprints explains why some sites reject non-browser clients.
The rule is simple: decide what you need from the page, then check that it survives the blocking before you scale up.
How to block in Playwright
This is the blocking rule we used, with an allowlist so a site’s own asset domains can stay:
from urllib.parse import urlparse
BLOCK_TYPES = {"image", "media", "font"}
ALLOWED_SITES = {"example.com", "examplecdn.com"} # the page's own domains
def site(host):
return ".".join(host.split(".")[-2:])
def route(r):
host = urlparse(r.request.url).hostname or ""
if r.request.resource_type in BLOCK_TYPES or site(host) not in ALLOWED_SITES:
return r.abort()
return r.continue_()
context.route("**/*", route)
And to measure what a page really costs, sum Chrome’s network byte counts:
cdp = context.new_cdp_session(page)
cdp.send("Network.enable")
total = {"bytes": 0}
cdp.on("Network.loadingFinished", lambda ev: total.__setitem__("bytes", total["bytes"] + ev["encodedDataLength"]))
page.goto(url, wait_until="load")
Pair both with a sticky proxy session per page, so every request for one page leaves from the same exit.
A cost checklist
- Fetch HTML first. Use a browser only when the data needs JavaScript.
- Look for a lighter source. JSON APIs behind the page, or a site’s own search endpoint for agents, such as Cloudflare’s Search for Agents, can return the data in a fraction of the bytes.
- Block media, then other domains, then test. Keep an allowlist for the site’s own asset domains.
- Measure bytes per useful record. Our guide to the cost per clean record shows how to turn bytes into unit economics.
- Count failures. Blocked and retried pages cost bandwidth too.
For more techniques, such as conditional requests and compression, see our guide to cutting proxy bandwidth costs.
How we tested
On 28 November 2026 we loaded each page once per method from an Intel Mac mini, through one sticky Shifter residential session in Germany, using Chrome 158 through Playwright 1.60 in headless mode with a fresh profile for every load, and httpx 0.29 for the HTML fetch. Browser bytes are Chrome’s encoded data lengths for every finished request within six seconds of the load event; HTTP bytes are the compressed body plus response headers. Proxy billing also counts TLS and protocol overhead, so billed usage is somewhat higher. Pages change constantly, especially ads, so each figure is a single snapshot.
The bottom line
A web page loaded in a full browser cost a median of 2 MB through a residential proxy, 28 times the HTML alone. Blocking images, video and fonts saved about a third; blocking other domains saved about three quarters, at the risk of breaking pages that use their own separate asset domains. Fetch the lightest thing that contains your data, and measure before you scale.
Sources and references
- Chrome DevTools Protocol, Network.loadingFinished: chromedevtools.github.io
- Playwright, network interception and routing: playwright.dev
- Playwright, Request.resourceType: playwright.dev
- HTTPX, streaming responses: python-httpx.org