Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...
    Documentation
    GitHub

    Trust

    Impact Notice

    Spool lets a visitor's browser answer a page view it has already seen, without asking the site. A local view removes the document request, the transaction that carries it and the server work behind it. The page's own API calls and every third-party request still leave the browser unless the site declares data routes or turns on the third-party cache.

    This page says what that saves, how sure each number is and what it means in money. Every figure carries a label: L0 published by someone else, L1 measured here, L2 derived from L0 and L1, L3 a scenario. The sections after the notice show the readings and the arithmetic.

    Every headline row has a provenance, which names where its counts came from. library 1.0.0, measured is a count printed by a reading of the shipped package in which the worker controlled the spool arm. library 1.0.0 page runtime, no worker is a count from the shipped package where the reading's controlled field is false: the in-page navigation of the page runtime answered the views, and no worker was registered. model over library counts (L3) is a projection, a median or a byte formula over those counts. review construction, not shipped is a count from a construction the library does not implement, and bound, no count is a formula or a published rate. The last two rows sit in Constructions That Are Not Shipped.

    A net saving is the share of a baseline that spool removes after it pays for the bootstrap, the worker script (the stub), contacts, the sync and dataset requests, and writes. The baseline is the same visits with no spool. A negative saving is a result: spool sent more than the baseline. The multiplier is the baseline over spool. The per-workload and byte tables are in Economics; how each multiplier moved is under Moving Numbers.

    figure baseline net saving multiplier label applies to provenance
    Origin requests, 121 views 121 requests, no spool 95.9% 24.20x L2 Chromium, 5 requests with spool; counts L1; all origin hits, stub on the Worker library 1.0.0, measured
    Origin requests, 121 views 122 requests, no spool 95.1% 20.33x L2 Firefox, 6 requests with spool; counts L1; all origin hits, stub on the Worker library 1.0.0, measured
    Origin requests, one view a day for 5 days 5 requests, no spool 0.0% 1.00x L2 Chromium, 5 requests with spool, no saving; counts L1; no stub fetched; Firefox did not start library 1.0.0 page runtime, no worker
    Worker-invocation equivalents, 121 views 121 requests, no spool 97.5% 40.33x L2 Chromium; the stub and boot script served from a static tier library 1.0.0, measured
    Worker-invocation equivalents, one view a day for 5 days 5 requests, no spool 0.0% 1.00x L2 Chromium; the stub and boot script served from a static tier library 1.0.0 page runtime, no worker
    Bytes, 121 views, the median document 2,063,534 B, no spool 86.7% 7.51x L2 Chromium; 274,709 B with spool after the ring, boot script and one stub fetch; the 17,054 B median over L1 sizes model over library counts (L3)
    Origin requests, signed-in reader on defaults, 4 days 7 requests, no spool -185.7% 0.35x L2 Chromium, 20 requests with spool, a loss; counts L1; persistent retention, the default; 6 views over 4 days; the spool arm has a memory sink; not what a default install produces: needs principalDatasets: true, the identity option and a principal route; behind spoolProxy, a public route sends a request with a cookie outside the allowlist or an Authorization header to the origin, and a principal route needs identity library 1.0.0, measured
    Origin requests, signed-in reader, session retention (opt-in), 4 days 7 requests, no spool -214.3% 0.32x L2 Chromium, 22 requests with spool, a loss; counts L1; 6 views over 4 days; the spool arm has a memory sink; not what a default install produces: needs principalDatasets: true, the identity option and a principal route; behind spoolProxy, a public route sends a request with a cookie outside the allowlist or an Authorization header to the origin, and a principal route needs identity library 1.0.0, measured
    Origin requests on a held day, persistent retention, day 2 1 request, no spool -300.0% 0.25x L2 Chromium, day 2 of the persistent reader; 4 requests with spool (a beacon, the sync and the dataset request, and a stub check), a loss; counts L1; not what a default install produces: needs principalDatasets: true, the identity option and a principal route; behind spoolProxy, a public route sends a request with a cookie outside the allowlist or an Authorization header to the origin, and a principal route needs identity library 1.0.0, measured
    Origin requests, session revoked on the server after day 2 7 requests, no spool -157.1% 0.39x L2 Chromium, 18 requests with spool, a loss; counts L1; persistent retention; no held page on day 3; not what a default install produces: needs principalDatasets: true, the identity option and a principal route; behind spoolProxy, a public route sends a request with a cookie outside the allowlist or an Authorization header to the origin, and a principal route needs identity library 1.0.0, measured
    Origin requests, public edit, family route 9 requests, no spool -11.1% 0.9x L2 Chromium, 10 requests with spool, a loss; counts L1; 9 views over 4 days library 1.0.0, measured
    Origin requests, public edit, stored-page route 9 requests, no spool -88.9% 0.53x L2 Chromium, 17 requests with spool, a loss; counts L1; 9 views over 4 days library 1.0.0, measured
    Worker invocations over the visit, static tier, Chromium 130 invocations, no spool 96.2% 26.00x L2 Chromium, stamped static files; unstamped files also give 5 (counts L1) library 1.0.0, measured
    Worker invocations over the visit, static tier, Firefox 131 invocations, no spool 95.4% 21.83x L2 Firefox, stamped static files; unstamped files also give 6 (counts L1) library 1.0.0, measured
    Worker invocations over the visit, static tier against worker only, Chromium 13 invocations, worker only 61.5% 2.60x L2 Chromium, stamped static files; counts L1 library 1.0.0, measured
    Worker invocations over the visit, static tier against worker only, Firefox 14 invocations, worker only 57.1% 2.33x L2 Firefox, stamped static files; counts L1 library 1.0.0, measured
    Origin requests, one tab, 2,000 views, Chromium 2,000 requests, no spool 99.9% 1,000x L2 Chromium, 2 requests with spool; counts L1; the spool arm was not controlled by the worker in this reading (controlled false) library 1.0.0 page runtime, no worker
    Origin requests, one tab, 2,000 views, Firefox 2,001 requests, no spool 99.9% 667x L2 Firefox, 3 requests with spool; counts L1; the spool arm was not controlled by the worker in this reading (controlled false) library 1.0.0 page runtime, no worker

    The library readings come from 2026-11-20, on Chromium and Firefox, with every origin request counted. At 121 views Chromium sent 5 origin requests against 121: a net saving of 95.9% and a multiplier of 24.20x. Firefox gives 20.33x. That is 2,420,000 read views a day against the Free plan's 100,000, counting every origin hit (L2 over L1 counts). WebKit is absent from every library reading. The library's headline covers Chromium and Firefox only. WebKit, which is every browser on iOS, defaults to no worker because of an upstream script check on every navigation; its figures are model rows or single script-check readings, never library readings. "Chromium and Firefox" is well under all of mobile. The signed-in, public-edit and revoked-session rows are Chromium only, because Firefox did not start the multi-day arms under libfaketime. The signed-in rows are not what a default install produces. They need principalDatasets: true, the identity option and a principal route; the row's scope states the proxy conditions. The own-write scenario is not measured. The 121-view counts come from the single-day reading of the final tree, which supersedes the earlier 2026-11-20 reading; both have the same counts. At 2,000 views in one tab, Chromium sent 2 requests against 2,000 and Firefox 3 against 2,001 (counts L1, ratios L2). In those rows the spool arm was not controlled by the worker (controlled is false): the in-page navigation of the page runtime answered the views, no worker was registered, and the arm sent one document and the boot script. The review-2 thousands for a tab of 60,000 views stay L3 bounds. A signed-in reader on the persistent default makes 18 to 20 requests over four days against 7 across three repeat runs of the same code (the table row shows the first run, 20), and each held day costs 4 requests and 288 B against 1 request and 117 B (L1). The day-0 bootstrap is 6 to 8 requests across those runs. The swing is an install race: a view that starts before the worker controls the page is provisioned one navigation later. With the harness waiting for control after each view, day 0 is 8 requests in five of five runs and the four-day total is 20 (L1). With cdn: { worker: true }, the stub the origin serves falls from 141,976 B to 7,175 B, about 20 times fewer origin bytes (L2 over L1, one fixture), but Firefox downloads the core twice on its first install (269,730 B at the CDN, L1), and the site trusts the CDN host with the worker's code, since importScripts checks no hash.

    case best saving best multiplier label where the saving disappears or reverses provenance
    Signed-in reader on defaults, 4 days -185.7% 0.35x L1 counts, L2 ratio; Chromium; memory sink Day 0 carries the bootstrap; days 1 to 3 cost 4, 4 and 4 requests against 1 each on the baseline; not what a default install produces: needs principalDatasets: true, the identity option and a principal route; behind spoolProxy, a public route sends a request with a cookie outside the allowlist or an Authorization header to the origin, and a principal route needs identity library 1.0.0, measured
    Read/write workspace, 10% writes 85.0% 6.67x L3 scenario; no reading of a visitor writing through the worker exists Writes reach the origin on every path, so they cap the saving at the writes share model over library counts (L3)
    Ungated two-view lifetime -50.0% 0.67x L3 scenario Bootstrap costs more than the one view it serves; the saving is a loss under every engine class model over library counts (L3)
    One view a day on a 127 B page, 5 days 0.0% 1.00x L1 counts, L2 ratio; Chromium; before the stub validator Spool sent 5 requests against 5, one per day; no stub or boot script was fetched (the bytes are in the measured readings) library 1.0.0 page runtime, no worker
    WebKit with workerMode: 'always' 93.5% 0.4x to 15.38x L3; WebKit sent a script check on every navigation (L1) The script check is one request per navigation, so a workload whose views are all documents gains nothing; the WebKit default avoids the check by registering no worker model over library counts (L3)

    The figures that count Worker-invocation equivalents assume the stub and boot script are served as static assets, which are not Worker invocations. The origin-request figures put the stub on the Worker. On a 127 B page read once a day, spool sent 5 requests against 5, and no stub is fetched on those five days (L1). The byte comparison for that page is under Measured Readings. The stub's cost on a static tier or on the Worker is in Economics.

    The rows in this section do not come from the shipped package. Each one counts a review construction, a hand-written server and client kept outside the library, or states a bound that no reading prints. The library does not implement the miss-triggered pack or the inlined client, so the figures here are not what @drupflare/spool produces. Each row keeps its figure and layer, and its last column gives its provenance.

    case best saving best multiplier label where the saving disappears or reverses provenance
    Origin requests, request law no finite ceiling no finite value L2 a bound over a floor of one request per client (Q >= 1 + W + F), never a count bound, no count
    A tab held open all day, 60,000 in-page views 99.945% to 99.953% 1,818x to 2,143x L3 workload over an L2 floor of one request; never a measured count A client that opens a new document each time pays the document, so the saving falls to the daily rows review construction, not shipped
    A population of 40 clients with mixed visits 56.8% 2.31x L3 workload, review construction, Chromium Fewer views per client; a client with one view costs the baseline review construction, not shipped
    Durable Object requests not a saving not a saving L2 over L0 Spool without the live stream uses none; the stream adds one request per stream open and one per bump or revoke bound, no count

    The headline is 12.4 joules per local view (L2). It applies the Sustainable Web Design v4 intensities for the network, the data centre and the device to the 17,054 bytes of the document a local view replaces, then adds the origin's energy for one request. No meter read it.

    Meters read less, because they leave out the network and every data centre between the two ends. Three readings sit beside the headline:

    where figure per view label what it covers
    Desktop saves 0.80 J L1 package energy of the browser, the origin and the service worker, against optimized HTTP caching
    iPhone 14 Pro saves 0.088 J L1 the whole phone with the screen on, over Wi-Fi, against a network view
    Server, 4 runtimes a network view costs 0.61 to 0.98 J L1 package energy of the server, which a local view does not spend

    On the server, a local view sent nothing in all but one window per runtime, and its measured energy (0.32 J at most, as a median) sits inside the idle drift. The ranges and the method are under Measured Readings.

    Spool does not claim that the headline is a meter reading, a saving in radio wakes, a capacity saving without evidence that equipment was removed, or a figure for paced or cellular phone use. The full list is under What This Does Not Claim.

    A client that holds a copy of a site's data answers most views without asking the site. A host bills requests, so this section counts requests. Over one replica lifetime, the period a client keeps one copy, the requests that reach the origin come to Q, where 1 is the first document the client loads, k the requests bootstrap adds beyond that document, V_c the document navigations made while the service worker is stopped, c the requests each of those costs, V_w the document navigations made while the worker runs, d the requests each of those costs, V_p the in-page views, S the freshness contacts that no other request carried, x the requests each contact costs, and W and F the writes and misses:

    Q = 1 + k + c \times V_c + d \times V_w + 0 \times V_p + x \times S + W + F
    

    A held copy answers the in-page views on a page with a swap region, so each of them costs 0. A site without spool pays for writes and misses too.

    Without spool, the same client costs the requests below, where r is the requests per view and V is the views:

    r \times V
    

    Each constant below is a count from one rig on one day, so it is L1. The counts differ by engine:

    term measured count (L1)
    first view equal to the baseline in every engine
    k 2 with a worker, 1 without
    Vp, an in-page view 0 in every engine
    x 1 request per contact; 0 for a contact inside the stub's lease
    W 1 request per write, and the response carries the changed rows
    d 0 in Chromium, 0 in Firefox and 0 in Linux WebKit; 1 in WebKit on macOS and in Safari 26.5.2
    c 1 in Chromium; 0 in Chromium with a static route; 0 in Firefox; 2 in WebKit on macOS; 1 in WebKit on Linux with a persistent profile; 0 in all three engines over real TLS

    A client that makes 108 views in one session (the first document, bootstrap, 100 held reads, 5 documents and 1 restart) cost one Worker invocation in each engine on a Free-plan account, which was the first document. That reading is in the Capacity section.

    The practical multiplier is the views per document navigation that reaches the network. The theoretical multiplier has no finite value, since a held copy answers every in-page view. A site whose pages carry a swap region, and whose links navigate in-page, keeps most views off the network. Each document navigation that reaches the network costs c or d requests, as the table gives.

    WebKit on macOS checks the worker script once for each document navigation, about one second after it. A document navigation therefore costs one request in that engine.

    Each table follows one quantity through the stages of the project: v0.4, the original v1 implementation, the follow-ups, review 2 and the library today. The stages before the library are the counts each source printed. This page divides the two counts to get each ratio, and every ratio matches the one its source printed. The rows come from the earlier stage reports, named by date. A figure a later reading replaced stays in its table, marked superseded. Where sources disagree, the later measured figure is current.

    stage date multiplier and net saving condition label source status
    v0.4 2026-11-16 no count; bars of 3x to 1,500x proposed targets, none measured L3 v0.4 interim, 2026-11-16 withdrawn
    original v1, minimal construction 2026-11-18 40.33x (3 of 121; 97.52% saved) Chromium, Codex's 121-view mix, review model, loopback, all requests L2 v1 review, 2026-11-18 superseded
    original v1, Codex construction 2026-11-18 30.25x (4 of 121; 96.69% saved) Chromium, same mix, Codex's construction L2 v1 review, 2026-11-18 superseded
    follow-ups, retrofit 2026-11-18 30.25x (4 of 121; 96.69% saved) Chromium and Firefox, same mix, local clone under workerd, no deployment L2 follow-ups, 2026-11-18 superseded
    follow-ups, retrofit, WebKit origin requests 2026-11-18 5.26x (23 of 121; 80.99% saved) WebKit, same mix, each navigation adds a script check L2 follow-ups, 2026-11-18 superseded
    follow-ups, retrofit, WebKit Worker calls 2026-11-18 20.17x (6 of 121; 95.04% saved) WebKit, same mix, Worker calls only, not origin requests L2 follow-ups, 2026-11-18 superseded
    first library run 2026-11-18 13.44x (9 of 121; 92.56% saved) Chromium, same mix, library, one run per arm L2 first library run, 2026-11-18 superseded
    library today, earlier reading, chromium 2026-11-20 24.20x (5 of 121; 95.87% saved) Codex's mix: 1 + 100 in-page + 20 warm documents; all origin requests, counted; superseded by the single-day reading L2 measurements/demand/2026-11-20.json superseded
    library today, earlier reading, firefox 2026-11-20 20.33x (6 of 122; 95.08% saved) Codex's mix: 1 + 100 in-page + 20 warm documents; all origin requests, counted; superseded by the single-day reading L2 measurements/demand/2026-11-20.json superseded
    library today, one tab, chromium 2026-11-20 1,000x (2 of 2,000; 99.90% saved) One tab, 2,000 views; all origin requests, counted; the spool arm was not controlled by the worker L2 measurements/demand/2026-11-20-single.json current
    library today, one tab, firefox 2026-11-20 667x (3 of 2,001; 99.85% saved) One tab, 2,000 views; all origin requests, counted; the spool arm was not controlled by the worker L2 measurements/demand/2026-11-20-single.json current
    library today, chromium 2026-11-20 24.20x (5 of 121; 95.87% saved) Codex's mix: 1 + 100 in-page + 20 warm documents; all origin requests, counted L2 measurements/demand/2026-11-20-single.json current
    library today, firefox 2026-11-20 20.33x (6 of 122; 95.08% saved) Codex's mix: 1 + 100 in-page + 20 warm documents; all origin requests, counted L2 measurements/demand/2026-11-20-single.json current

    The 40x and 13x figures divide the same baseline of 121 requests. They differ in the spool count: 3 requests for the review model's minimal construction, and 9 for the first library run, which gated its bootstrap on the second and third document loads, registered the worker and fetched the boot script. The 30.25x of the Codex construction and of the retrofit is 121 over 4. The 2026-11-20 reading has 5 for Chromium, and no earlier source divides 121 by it, so this page does. The model's 3 is one first document and two bootstrap requests: its bootstrap is the pack and the stub, and it prices the 20 warm documents at zero, since a document under a running worker costs no request. The current reading's 5 for Chromium is three document requests, the boot script and the stub (GET /courses/:id 3, GET /.spool/1.0.0/boot/1.js 1, GET /spool-sw.js 1; 3 + 1 + 1 = 5, checked by the economics spec). The bootstrap is the same two requests in both, so the two the model does not count are the second and third document requests, which the reading's paths record without attributing them to a navigation. The Worker-invocation equivalent of 3 leaves out the boot script and the stub, which a static tier serves, and keeps the three documents. The earlier reading that gave 9 is superseded, and nothing here reconciles it with the current count. The Chromium multiplier at 121 views has been written as 40x, 30x, 13x and now 24.20x, each over a different spool count. WebKit has two retrofit rows because its two denominators differ: 23 origin requests, and 6 Worker calls.

    stage date multiplier and net saving condition label source status
    original v1, daily reader 2026-11-18 8.82x (68 of 600; 88.67% saved) 20 views in 2 visits over 30 days, Chromium, review model count L3 v1 review, 2026-11-18 superseded
    original v1, engaged reader 2026-11-18 30.61x (98 of 3,000; 96.73% saved) 100 views in 3 visits over 30 days, Chromium, review model count L3 v1 review, 2026-11-18 superseded
    original v1, one tab all day 2026-11-18 1,579x (38 of 60,000; 99.94% saved) 2,000 views in one visit; a floor-based bound over a model count, never a measured count L3 v1 review, 2026-11-18 superseded
    review 2, daily reader 2026-11-18 18.21x (33 of 601; 94.51% saved) 600 views in 60 visits over 30 days, Chromium 157 headless on Linux, final construction L3 review 2, 2026-11-18 superseded
    review 2, engaged reader 2026-11-18 90.94x (33 of 3,001; 98.90% saved) 3,000 views in 90 visits, same construction L3 review 2, 2026-11-18 superseded
    review 2, one tab all day, low end 2026-11-18 1,818x (33 of 60,001; 99.95% saved) 60,000 in-page views; a floor-based bound over a model count, never a measured count L3 review 2, 2026-11-18 superseded
    review 2, one tab all day, high end 2026-11-18 2,143x (28 of 60,001; 99.95% saved) same row at 28 requests; a floor-based bound, never a measured count L3 review 2, 2026-11-18 superseded
    review 2, population of 40 clients 2026-11-18 2.31x (112 of 259; 56.76% saved) mixed visits, same construction L3 review 2, 2026-11-18 superseded
    library today, earlier tree, daily reader 2026-11-20 0.63x (8 of 5; -60.00% saved) one view a day for 5 days, Chromium, before the third-view window of src/client/gate.ts; 495,557 B against 645 B L2 measurements/demand/2026-11-20-days.json superseded
    library today, final tree, chromium 2026-11-20 1.00x (5 of 5; 0.00% saved) Daily reader: one document a day, 5 days; all origin requests, counted, one lease length L2 measurements/demand/2026-11-20-days-ship-a.json current
    library today, final tree, chromium 2026-11-20 0.9x (10 of 9; -11.11% saved) Local-only reader across three leases; all origin requests, counted, one lease length L2 measurements/demand/2026-11-20-days-ship-a.json current
    library today, final tree, chromium 2026-11-20 0.9x (10 of 9; -11.11% saved) Public edit: a held course changes between days; all origin requests, counted, one lease length L2 measurements/demand/2026-11-20-days-ship-a.json current
    library today, final tree, chromium 2026-11-20 0.53x (17 of 9; -88.89% saved) Public edit, stored page route with depends: a held course changes between days; all origin requests, counted, one lease length L2 measurements/demand/2026-11-20-days-ship-a.json current
    library today, final tree, chromium 2026-11-20 0.32x (22 of 7; -214.29% saved) Principal reader, session stays valid, session retention; all origin requests, counted, one lease length L2 measurements/demand/2026-11-20-days-ship-b.json current
    library today, final tree, chromium 2026-11-20 0.33x (21 of 7; -200.00% saved) Principal reader, session ends on the server after day 2, session retention; all origin requests, counted, one lease length L2 measurements/demand/2026-11-20-days-ship-b.json current
    library today, final tree, chromium 2026-11-20 0.32x (22 of 7; -214.29% saved) Principal edit: the visitor row changes between days, session retention; all origin requests, counted, one lease length L2 measurements/demand/2026-11-20-days-ship-b.json current
    library today, final tree, chromium 2026-11-20 0.35x (20 of 7; -185.71% saved) Principal reader, session stays valid, persistent retention and depends on members; all origin requests, counted, one lease length L2 measurements/demand/2026-11-20-days-ship-c.json current
    library today, final tree, chromium 2026-11-20 0.39x (18 of 7; -157.14% saved) Principal reader, session ends on the server after day 2, persistent retention and depends on members; all origin requests, counted, one lease length L2 measurements/demand/2026-11-20-days-ship-c.json current

    The daily reader is not one workload across these rows. The original v1 reader makes 20 views in 2 visits, review 2 makes 600 views in 60 visits, and the library readings make one view a day for 5 days, with a local-only, public-edit and signed-in reader over three to four leases. The thousands for a tab held open all day are a bound over a floor of one request per client, with 60,000 baseline requests over 28 to 33 construction requests. They are never a measured count: the 10,000 and 60,000 view models were dropped from the rig, so these thousands stay L3 bounds. The stub is 138,567 B in the local-only reading (L1), and a stub fetch repays after 8.1 held views of a 17,054 B document (L2).

    Under workerMode: 'auto', WebKit registers no worker, so its multiplier is the no-worker one. With 'always' it is the worker multiplier plus one script check per navigation. With 'always', WebKit checks the worker script on every document navigation, and site code cannot remove that check. The check is a WebKit issue, reported upstream to WebKit as a bug. It is a finding of this page and not a gap in the code.

    stage date read views a day condition label source status
    follow-ups, retrofit 2026-11-18 views a day: 100,000 x 121 / 4 = 3,025,000 (Chromium, Firefox); 100,000 x 121 / 6 = 2,016,666 (WebKit) Free-plan allowance over Worker calls; the source says it is not a deployed quota test L2 follow-ups, 2026-11-18 superseded
    library today, chromium 2026-11-20 100,000 x 121 / 5 = 2,420,000 121-view mix; counts all origin hits, not Worker invocations only L2 measurements/demand/2026-11-20-single.json current
    library today, firefox 2026-11-20 100,000 x 122 / 6 = 2,033,333 121-view mix; counts all origin hits, not Worker invocations only L2 measurements/demand/2026-11-20-single.json current
    docs, economics model, Engaged daily public reader 2026-11-19 100,000 to 2,500,000 Chromium and Firefox, worker; L3 workload with bootstrap of 2 requests after the first document L3 docs/economics.md current
    docs, economics model, Retained public library 2026-11-19 100,000 to 6,666,667 Chromium and Firefox, worker; L3 workload with bootstrap of 2 requests after the first document L3 docs/economics.md current
    docs, economics model, Read/write workspace 2026-11-19 90,909 to 606,061 Chromium and Firefox, worker; L3 workload with bootstrap of 2 requests after the first document L3 docs/economics.md current
    docs, economics model, Ungated two-view lifetime 2026-11-19 100,000 to 66,667 Chromium and Firefox, worker; L3 workload with bootstrap of 2 requests after the first document L3 docs/economics.md current
    stage date multiplier and net saving condition label source status
    original v1 and review 2, static host 2026-11-18 121x, 600x, 3,000x and 60,000x over one Worker invocation the stub, pack and client served as static files; the 1 is one measured session on a Free test Worker, the workloads are L3 L3 v1 review and review 2, 2026-11-18 current
    library today, chromium, Worker-invocation equivalents 2026-11-20 40.33x (3 of 121; 97.52% saved) Codex's mix: 1 + 100 in-page + 20 warm documents; stub and boot script on a static tier L2 measurements/demand/2026-11-20-single.json current
    library today, firefox, Worker-invocation equivalents 2026-11-20 30.50x (4 of 122; 96.72% saved) Codex's mix: 1 + 100 in-page + 20 warm documents; stub and boot script on a static tier L2 measurements/demand/2026-11-20-single.json current

    The 121x to 60,000x figures assume the stub, pack and client are static files, and a deployment has to serve them that way. The library rows count every request except the boot script and the stub, so they are Worker-invocation equivalents under that assumption.

    stage date multiplier and net saving condition label source status
    original v1 2026-11-18 spool sends more bytes than no spool at 10 views on 1 to 3 KB documents; no figure direction only L1 v1 restart notes, 2026-11-18 current
    v0.3 and v0.4, dataset update date not recorded 227 to 232 B for one changed row against 2,236 to 191,744 B for a list refetch of 50 to 5,000 rows synthetic rows; a dataset, not a document L1 v0.4 release notes current
    library today, Chromium, demo page 2026-11-20 0.069x (223,952 B of 15,401 B; -1,354.1% saved) 121 views, the 127 B demo document; a tiny page does not repay the stub and boot script L2 measurements/demand/2026-11-20-single.json current
    library today, Chromium, median document 2026-11-20 7.51x (274,709 B of 2,063,534 B; 86.7% saved) 121 views over the 17,054 B median document, one stub fetch L2 measurements/demand/2026-11-20-single.json, measurements/demand/2026-11-20-days-ship-a.json current
    stage date joules per view what it is label source status
    headline allocation inputs read 2026-10-18 12.4 J SWD v4 intensities over the repeat-view document, plus one origin request; no meter read it L2 src/report/inputs.ts current
    desktop, original reading 2026-10-19 0.80 J saved package energy against optimized HTTP caching L1 measurements/rapl/2026-10-19-views.json current
    iPhone 14 Pro 2026-10-19 0.088 J saved whole phone, screen on, over Wi-Fi, against a network view L1 measurements/iphone/2026-10-19-projection.json current

    The energy figures are different quantities: an allocation and two meters. They sit side by side and are never summed. The headline rows read the original desktop reading; its retake is under Second Time Point.

    The per-view figures on this page are reported in kWh per million views, so they compare at any throughput. A reader multiplies one by their own yearly views in millions. One joule a view is one megajoule per million views, which is 0.2778 kWh per million views (L2). The unit is for research and communication. Nothing in this report sets a target intensity.

    A CMS website uses little energy next to an institution's whole IT estate, so energy is a research and communication item here and not a business one. The largest part of drupflare's saving is idle and hosting energy per site-year, which is not a per-view quantity. That saving keeps its own units in Economics, where the peak-sized hosting counterfactual sits, and in Capacity, where a retired server-year is 3.80 MWh (L2). This page computes no per-view equivalent of it.

    Every kWh per million views figure assumes a view mix: the share of cold first views against repeat views, the page weight and the device. The table names the mix of each row. The first-view rows are cold views of landing pages from university sites, not weighted by traffic. The repeat rows are repeat views. Where a table needs a cold share it takes one from an L3 input. A fleet-wide kWh per million views is never printed without its mix.

    Two kinds of kWh appear. The attributional figure is SWD v4 over wire bytes, an allocation (L2). The metered figure is the package energy of one desktop (L1) or the whole phone. Where both exist they sit side by side and are labelled. The attributional column is the upper reading. Where a metered reading exists, what to build is decided on the metered column.

    On the first-view pages the metered figure is 1.66% of the attributional one, the mean of the metered joules over the mean of the attributional joules (L2).

    figure view mix J per view kWh per million views layer
    Attributional, one local view (SWD v4 over the document, plus an origin request) repeat views, the median document 12.4 3.43 L2
    Metered desktop, saving of one local view repeat views, one desktop 0.801 0.223 L1
    Metered phone, saving of one local view repeat views, one phone 0.0877 0.0244 L1
    Attributional, one cold first view, median page cold first views of 52 landing pages from 26 sites, not weighted by traffic 2,845 790 L2
    Metered desktop package, one cold first view, median page (a cost, not a saving) cold first views of 52 landing pages from 26 sites, not weighted by traffic 47.5 13.2 L2

    The first rows are what one local view saves. A row marked as a cost is the energy a view spends, which is not a saving. The ranges and rounds behind the metered figures are under Measured Readings.

    Spool's tiers name the share of views that are local: Meaningful at 30%, Major at 65% and Transformative at 90%. The table gives the energy per million views at each of the three per-view figures, which is the tier's share times the figure.

    tier Z_annual attributional, 12 J, kWh per million views measured desktop, 0.80 J, kWh per million views measured phone, 0.088 J, kWh per million views
    Meaningful 30% 1.03 0.0668 0.00731
    Major 65% 2.23 0.145 0.0158
    Transformative 90% 3.09 0.200 0.0219

    The attributional column is L2 over an L3 radio term. The two measured columns are L2: an L1 per-view figure times a tier share. The view mix is repeat views of the median document.

    A local view removes the demand a view would place on the host, so a host that bills traffic or requests bills less. Energy is one objective among these, and an administrator decides how much weight it gets. The bytes saved per local view are the document's median size, 17,054 B or 17.1 KB (L1, the same median the headline uses). The requests saved are one per local view. Per million local views that comes to 17.1 GB and one million requests.

    Prices are each vendor's published list prices, read from the vendor's own page on 2026-10-19. Every input is L0 unless the table says L2, and every input's source is in src/report/inputs.ts. A price that could not be read from the vendor's page is left out.

    host tier the price is taken from egress price free egress a month request price label vendor page, read 2026-10-19
    Cloudflare Workers (Standard plan) Standard plan, requests past the included 10 million a month $0 per GB no egress charge $0.30 per million L0, requests L0 developers.cloudflare.com/workers/platform/pricing
    AWS CloudFront (pay as you go) United States, Mexico and Canada; the next 9 TB after the first free 1 TB $0.085 per GB 1,000 GB $1.00 per million L0, requests L2 aws.amazon.com/cloudfront/pricing/pay-as-you-go
    Microsoft Azure default routing from North America or Europe; the next 10 TB after the first free 100 GB $0.087 per GB 100 GB not read L0 azure.microsoft.com/en-us/pricing/details/bandwidth
    Google Cloud (Premium Tier) to North America, 1 to 1,024 GiB a month, per GiB $0.12 per GiB 1 GiB not read L0 cloud.google.com/vpc/network-pricing

    Egress is priced at the first paid tier of each host. A free allowance is used up by everything the site serves, not by the bytes spool removes, so for a site whose total traffic is past the allowance the saving comes off at the paid rate. A site large enough to reach a host's later tiers pays a lower rate per GB there, so for it these figures are the high end. A site that serves less than its allowance in total saves nothing in dollars. A GiB is 2^30 bytes and a GB is 10^9.

    host bytes no longer moved egress requests total
    Cloudflare Workers (Standard plan) 17.1 GB $0 $0.30 $0.30
    AWS CloudFront (pay as you go) 17.1 GB $1.45 $1.00 $2.45
    Microsoft Azure 17.1 GB $1.48 not read $1.48
    Google Cloud (Premium Tier) 15.9 GiB $1.91 not read $1.91

    The dollar figure is small. A million local views save between $0.30 and $2.45 at these list prices. At each of the three tiers of local views:

    host Meaningful, 300,000 local views per million Major, 650,000 local views per million Transformative, 900,000 local views per million
    Cloudflare Workers (Standard plan) $0.09 per million views $0.20 per million views $0.27 per million views
    AWS CloudFront (pay as you go) $0.73 per million views $1.59 per million views $2.20 per million views
    Microsoft Azure $0.45 per million views $0.96 per million views $1.34 per million views
    Google Cloud (Premium Tier) $0.57 per million views $1.24 per million views $1.72 per million views

    At the Transformative tier that is $0.27 to $2.20 per million views across these hosts. The bytes and requests behind it:

    tier local views per million views requests no longer sent per million views bytes no longer moved, GB per million views
    Meaningful 300,000 300,000 5.1
    Major 650,000 650,000 11.1
    Transformative 900,000 900,000 15.3

    The same rule holds for requests. Cloudflare Workers and CloudFront each include 10 million requests a month, and that allowance is used by all of the site's requests. Past it, each request spool removes saves the request price in the table.

    Two more hosts publish traffic terms that this page cannot turn into dollars. Pantheon bills overage at $40 for each 10,000 unique visits, counting an IP address and user agent once over 24 hours; the page carries a notice that the automated overage program is paused. A visit is a different unit from a view, and no reading here says how many visits spool removes, so no Pantheon figure is derived. Acquia's pricing page lists no traffic or bandwidth price, so Acquia is left out.

    The money above does not include:

    • staff time spent on the site or on the migration;
    • plan tiers that do not scale with traffic, such as a flat hosting plan, which gets cheaper only when traffic falls under a tier boundary;
    • request fees at hosts where none was read (Azure and Google Cloud above);
    • the origin's compute and the servers behind it, which the Capacity section treats;
    • the requests spool sends itself. The table counts one request avoided per local view and does not subtract spool's syncs and flushes.

    Cloudflare Workers bills a request only when a Worker runs. A site that serves its document from static assets makes no Worker request for it, and saves $0 in the Workers row. Prices are list prices. An institution's contract can differ from every number here.

    This section prices spool for one institution. It leads with money, then storage and trust, then energy as a research figure. Institutions A, B and C are anonymous examples at three scales. Their site counts are L3 choices, and they name no campus. The blocks come from institutionReport in src/report/institution.ts.

    The host meter carries drupflare's hosting saving: the energy the host no longer spends serving the institution's sites. The peak-sized deployment is the headline (L2). The production deployment and a single small VPS sit beside it. Each is priced at the state's average industrial and commercial rates (L0).

    Institution Sites Case kWh a site Host-meter MWh a year Dollars, industrial Dollars per million views, industrial Dollars, commercial
    A 425 peak 390.0 165.8 $13,343 $32 $20,636
    A 425 production 224.2 95.3 $7,670 $18 $11,863
    A 425 floor 9.3 4.0 $320 $0.76 $494
    B 180 peak 390.0 70.2 $4,914 $201 $7,701
    B 180 production 224.2 40.4 $2,825 $116 $4,427
    B 180 floor 9.3 1.7 $118 $4.82 $184
    C 100 peak 390.0 39.0 $6,560 $109 $7,843
    C 100 production 224.2 22.4 $3,771 $63 $4,509
    C 100 floor 9.3 0.9 $157 $2.62 $188

    The electricity prices come from EIA. Only these five states are in the record, and the report throws on any other state.

    State Commercial, cents per kWh Industrial, cents per kWh Layer
    US 13.37 8.51 L0
    NH 20.11 16.82 L0
    MA 23.10 19.04 L0
    AZ 12.45 8.05 L0
    WA 10.97 7.00 L0

    Spool's data-centre share of the attributional saving is already inside the hosting saving, so the table does not add it. For Institution A the data-centre share is 12.9 MWh a year and the rest, 32.6 MWh, sits on visitors' devices and networks. No institution's meter carries that rest, so no dollar figure covers it.

    The dollar figures are energy charges only. The record holds no campus tariff, no energy-only share of any bill and no demand charge. A saved kWh avoids the energy charge and any per-kWh delivery charge. The averages here are all-in rates, so they overstate a saving that avoids only the energy charge. The figures are small beside hosting fees and support contracts.

    The storage block compares the bytes each dataset holds on the device and on the server with a declared budget for each side. The worker does not report those bytes for an institution yet, so this page prints no institution storage figure. A report given storage inputs shows the held bytes and whether each side is within budget.

    The device layouts were measured on a synthetic site of 1,000 and 10,000 rows in Chromium, Firefox and WebKit, on one Apple M2 Pro (L1). The plain layout keeps one record per row. The packed layout keeps rows in gzip blocks, and a view reads the one block it needs. Every rendered page matched a Node render of the same rows.

    At 10,000 rows the plain layout costs 794 B a row in Chromium, 1,755 B in WebKit and 9,373 B in Firefox, measured as the change in storage usage. The packed layout costs 115 to 396 B a row. A plain view takes 62 to 112 ms (the median item view in the three engines) and 675 ms at 100,000 rows in Chromium. A packed view takes 1.7 to 2.7 ms at 10,000 and at 100,000 rows. On the wire, 10,000 synthetic rows are 1,146,591 B as packed gzip blocks against 293,408 B as one brotli stream of the plain seed. The packed set is larger on the wire and smaller in browser storage and read time.

    Real pages follow the same arithmetic. Over 300 pages of docs.drupflare.com and 300 pages of MDN's Service Worker section, one brotli stream holds the visible text at 1,090 to 1,774 B a page and the HTML at 1,685 to 3,306 B a page. Compressed page by page, the HTML costs 3,424 B a page on docs.drupflare.com and 19,039 B a page on MDN. The crawl totals are L1, and the per-page figures are L2 (each total over 300 pages).

    The trust block counts what the worker's own views record. It counts sampled shadow comparisons and their mismatches, views the worker refused or rendered by fallback, and views answered from the network because a stored copy was outdated. Proof failures, reseeds and rollbacks are not counted anywhere in the worker. A report says so and never prints a zero for them. This page has no views from a live site, so it prints no trust figure.

    These figures are research. Energy and carbon do not decide a default or a sales claim, and the energy figures are not a business case.

    For Institution A, the attributional saving at the high case is 45.5 MWh a year, or 108 kWh per million views (L3). Every per-million-views column in this section uses the average view of the footprint paragraph below, a mix of cold first views and repeat views. It splits across three meter boundaries: visitors' devices take 41.2%, networks 30.4% and data centres 28.4% (L2, from the SWD v4 intensities). Only the data-centre share sits on a host's meter.

    Institution Attributional MWh Attributional kWh per million views Devices, MWh Networks, MWh Data centres, MWh Off the meter, MWh
    A 45.5 108 18.8 13.8 12.9 32.6
    B 2.6 108 1.1 0.8 0.7 1.9
    C 6.5 108 2.7 2.0 1.8 4.7

    Carbon uses each campus's own eGRID2023 subregion (L0). The eGRID rate covers stack emissions at the plant, with no transmission or distribution losses and no upstream emissions. Ember's 2025 national figure of 384 gCO2e/kWh (L0) sits beside it and does not replace it. Ember states no boundary. The carbon covers the whole attributional saving, and a visitor's device draws on its own grid, so read the carbon as a bracket.

    Water covers the data-centre share only. Direct water is used on site. Indirect water is used where the electricity is generated, in the plant's watershed and not the campus's. Drupflare's indirect factor is 0.7% above the figure LBNL prints. Water stays per institution and is never added up, because water is local.

    Factor L per kWh Layer Applies to
    Direct, on site 0.375 L2 data-centre electricity
    Indirect, drupflare 4.55 L2 electricity through generation
    Indirect, LBNL 2024 4.52 L0 electricity through generation
    Source Rate Unit g CO2e per kWh Layer
    eGRID2023 US 770.884 lb/MWh 349.7 L0 rate, L2 conversion
    eGRID2023 NEWE 543.178 lb/MWh 246.4 L0 rate, L2 conversion
    eGRID2023 AZNM 706.189 lb/MWh 320.3 L0 rate, L2 conversion
    eGRID2023 NWPP 635.267 lb/MWh 288.2 L0 rate, L2 conversion
    eGRID2023 SRVC 596.326 lb/MWh 270.5 L0 rate, L2 conversion
    eGRID2023 ERCT 736.629 lb/MWh 334.1 L0 rate, L2 conversion
    Ember, US 2025 384 gCO2e/kWh 384.0 L0
    Institution eGRID subregion tCO2e, eGRID kgCO2e per million views, eGRID tCO2e, Ember Direct water, L Indirect water, L (drupflare) Indirect water, L per million views (drupflare) Indirect water, L (LBNL)
    A AZNM 14.6 34.7 17.5 4,841 58,734 140 58,347
    B NWPP 0.8 31.2 1.0 281 3,412 140 3,390
    C NEWE 1.6 26.7 2.5 692 8,391 140 8,335

    The goal ladder is a research scenario with no target attached. It sets each share as a fraction of a page view's own footprint. An average view costs 940 J on the attributional basis, which is 261 kWh per million views (L2). First views carry the central share of 60% (L3), and the first-view and repeat-view bytes come from the Web Almanac (L0) and the repeat-navigation rig (L1). The shares of 2.5%, 5%, 10% and 25% are proposed, not adopted. The high case of 41.5% is a scenario (L3). Each cell gives kWh a year.

    Views Footprint, MWh a year 2.5% 5.0% 10.0% 25.0% High case, 41.5%
    1.2M a year (100k a month) 0.313 8 16 31 78 130
    12M a year (1M a month) 3.13 78 157 313 784 1,301
    24.4M a year 6.37 159 319 637 1,593 2,645
    120M a year (10M a month) 31.3 784 1,567 3,135 7,837 13,009
    420M a year (35M a month) 110 2,743 5,486 10,972 27,429 45,532
    1B a year 261 6,531 13,061 26,123 65,307 108,410

    The same shares as an intensity, in kWh per million views. The mix is the average view above, with cold first views at the central share (L3).

    Share of the average view (L3) J per view kWh per million views (L3)
    2.5% 23.5 6.53
    5.0% 47.0 13.1
    10.0% 94.0 26.1
    25.0% 235 65.3
    41.5% 390 108

    Unconfirmed inputs: the Dartmouth footprint is a 2019 preliminary figure, and the record holds no campus electricity price, no energy-only share of a bill, and no lifecycle or marginal grid factor. Ember's boundary is unstated.

    The proxy can serve a site's stylesheets with the rules that no page of the site can match removed. This is a separate channel from the 12.4 J headline. The headline is what a local view saves, and a local view fetches no stylesheet. Trimming applies to a network view of a page the visitor has not seen. A repeat view saves nothing from it, since an optimized HTTP cache already keeps the file. The two do not add, and nothing in this section is part of the headline.

    The saving has to happen where the file is served. A service worker cannot save bytes by trimming a file it already fetched. The proxy trims each file against every page and script of the site and never against one page, so the file keeps its URL and one cached copy, and only rules that match nothing in the crawl go. A build step that runs PurgeCSS with a safelist reaches the same saving. The proxy reaches it without a change to the origin.

    JavaScript stays as it is. Coverage at load cannot see what a click or a scroll will need. Over 85 pages the used share of same-origin JavaScript rose from 36% at load to 40% after one scroll (L1), and no load-time measure can say which of the rest a visitor will run. CSS coverage stayed at 9% after the same scroll.

    same-origin files used at load, median (quartiles) used after one scroll, median (quartiles)
    CSS 9% (5% to 17%) 9% (5% to 17%)
    JavaScript 36% (26% to 47%) 40% (31% to 54%)

    The run crawled 85 pages on 10 Drupal sites, built one manifest per site from all its pages and the scripts they load, and fetched 303 stylesheets, of which the trim removed rules from 233 (L1). Four checks decide whether the trimmed files are safe to serve.

    check what it counts result
    Oracle A, false removals rules CDP marked used at load or after a scroll, over 85 pages, that the trimmed text lost 0 of 26,571 rule uses
    Oracle B, render full-page screenshots of 85 pages (0 failed): the trimmed CSS against the original, and the original against itself as a control identical to the pixel on 62 pages, and 65 for the control; most differing pixels 934,285 trimmed and 838,405 control; trimmed differs and control does not on 4
    Leave-one-out, guard internal pages, each against a manifest built without it, where the guard fired 33 of 75
    Leave-one-out, Oracle A rules used on the 13 pages the guard let through, that the trimmed text lost 0 of 3,643, on 0 pages

    Oracle A reads CDP rule usage on the original CSS, at load and after one scroll, and counts the used rules the trimmed text lost. Oracle B screenshots each page at full height with the original CSS and again with the trimmed CSS, and counts the pixels that differ. The control is the original page screenshotted twice, so the pixels it differs by come from the page and not from the CSS. One screenshot of each arm is a small sample, and a page that differs in the trimmed arm and not in the control is not proof of a CSS difference. Leave-one-out rebuilds the manifest without the page, which is how a page the crawl missed would meet it.

    Each figure is the brotli-5 size of a stylesheet before and after the trim, summed over the files that were new to the visit, with the home page first. A first view of an internal page therefore counts only the files that a visit starting at the home page had not fetched. The home page row is the cold case. The proxy sends a decoded body and a host's edge compresses it, so the bytes are an estimate of transfer (L2). Joules apply the attributional 0.194 kWh/GB to those bytes (L2). A trimmed file is the same request, so there is no origin term.

    site home page, cold: bytes saved home page, cold: joules internal pages first view: bytes saved, median (quartiles) first view: joules, median (quartiles) stylesheet bytes removed
    demo.drupflare.com 6.8 KB 4.73 3 0.0 KB (0.0 KB to 1.7 KB) 0 (0 to 1.16) 21%
    www.asu.edu 27.6 KB 19.3 8 27.6 KB (20.7 KB to 27.6 KB) 19.3 (14.4 to 19.3) 40%
    www.yale.edu 41.3 KB 28.8 8 36.2 KB (27.2 KB to 36.4 KB) 25.3 (19.0 to 25.4) 48%
    www.colorado.edu 39.1 KB 27.3 8 19.1 KB (0.0 KB to 38.3 KB) 13.4 (0 to 26.8) 63%
    www.uiowa.edu 32.9 KB 23.0 8 32.9 KB (32.5 KB to 33.5 KB) 23.0 (22.7 to 23.4) 50%
    www.tufts.edu 13.5 KB 9.42 8 10.3 KB (7.7 KB to 11.4 KB) 7.22 (5.39 to 7.94) 28%
    www.unl.edu 3.2 KB 2.22 8 3.2 KB (3.1 KB to 3.5 KB) 2.20 (2.19 to 2.43) 49%
    www.ucdavis.edu 53.5 KB 37.4 8 53.5 KB (0.0 KB to 53.5 KB) 37.4 (0 to 37.4) 61%
    www.rutgers.edu 106.9 KB 74.7 8 0.0 KB (0.0 KB to 0.0 KB) 0 (0 to 0) 40%
    www.mit.edu 49.9 KB 34.9 8 0.0 KB (0.0 KB to 0.0 KB) 0 (0 to 0) 67%
    Pooled 36.0 KB (17.0 KB to 47.8 KB) 25.2 (11.9 to 33.4) 75 3.2 KB (0.0 KB to 32.9 KB) 2.21 (0 to 23.0) 48%

    The typical first view of an internal page saves 3.2 KB and 2.21 J, and the mean is 15.2 KB and 10.6 J. The mean is the figure to multiply by a view count, since a few pages with large unused files carry the total.

    The share of views that are network views of a page the visitor has not seen is an L3 input. It runs from 45% to 75%, and src/report/inputs.ts gives the source of each value and the one in between. A view counted here is a network view of an unseen page.

    views counted bytes saved per view (mean) joules per view (mean) joules per million views kWh per million views label
    cold view of a home page, over the network 37.5 KB 26.2 26.2 million 7.27 L2
    first view of an unseen internal page, over the network 15.2 KB 10.6 10.6 million 2.95 L2
    all views, 45% of them first views of an unseen internal page (low) 6.8 KB 4.78 4.78 million 1.33 L3
    all views, 60% of them first views of an unseen internal page (central) 9.1 KB 6.36 6.36 million 1.77 L3
    all views, 75% of them first views of an unseen internal page (high) 11.4 KB 7.95 7.95 million 2.21 L3

    Dollars use the rule of Bandwidth and Request Costs: the paid marginal rate at each host's first paid tier, which is the high end for a site large enough to reach a later tier. A free allowance is used up by everything the site serves, so a site under its allowance saves no dollars. Cloudflare Workers bills no egress and its row is $0.

    host egress price per million first views per million views, 45% first views (low) per million views, 60% first views (central) per million views, 75% first views (high)
    Cloudflare Workers (Standard plan) $0 per GB $0 $0 $0 $0
    AWS CloudFront (pay as you go) $0.085 per GB $1.29 $0.58 $0.77 $0.97
    Microsoft Azure $0.087 per GB $1.32 $0.60 $0.79 $0.99
    Google Cloud (Premium Tier) $0.12 per GiB $1.70 $0.77 $1.02 $1.27

    The trim rig read the same ten Drupal sites on 2026-10-19 and again on 2026-11-15, 27 days apart, with the same method. Two readings show churn between two deployments at most. They say nothing about a rate: there is one interval and no third reading to show a trend.

    An aggregate is a same-origin CSS or JS file under a files/css/ or files/js/ folder. Names are compared by path with the query dropped, across every page the rig visited on each date. The first reading kept sizes and transfer bytes only. So for it, the names are the only comparison available. A content hash, and the zstd size of a changed file against the earlier file of its kind, exist only on the second reading. The earlier file was fetched by its path on the second date, so a dictionary figure exists only where that path still answers. Content under an unchanged name cannot be compared at all, since the first reading holds no hash.

    The cause of a name change was not read. Drupal's aggregate names depend on the asset library set and on the site's own cache rebuilds; this reading does not separate those.

    • 2 of 10 sites kept the same set of aggregate names (L1).
    • The changed names carry a median of 59.5% of a site's aggregate transfer bytes, and a mean of 46.7% (L2).
    • Across the 4 sites with a changed file whose earlier file answered, the zstd 3 dictionary size over the standalone size has a median of 0.06 and a mean of 0.11 (L2). Lower is better. A ratio of 1 means the earlier file saved nothing.
    site aggregates on the second reading changed names changed names, share of transfer bytes changed files compared dictionary over standalone size
    demo.drupflare.com 0 0 none 0 none
    www.asu.edu 21 0 0.0% 0 none
    www.yale.edu 12 0 0.0% 0 none
    www.colorado.edu 11 5 60.0% 5 0.29
    www.uiowa.edu 26 8 59.5% 8 0.03
    www.tufts.edu 12 12 100.0% 12 0.09
    www.unl.edu 21 5 24.3% 0 none
    www.ucdavis.edu 7 1 83.2% 1 0.01
    www.rutgers.edu 0 0 none 0 none
    www.mit.edu 0 0 none 0 none

    A cold visit through spoolProxy used to fetch the page twice, once as the navigation and once more as the worker's artifact. The proxy now names a SHA-256 of the page in Spool-Artifact, and the worker keeps the page it already received when its own hash matches. The reading records the requests and bytes at the origin from the first controlled visit to the first strict local view, in Chromium on loopback, with 5 rounds per arm that came out identical (L1). The bytes are uncompressed counts of a synthetic page, so they show the shape of the saving and not its size.

    arm requests, cold to local /.spool/artifact requests bytes in bytes out origin work
    assembly, off 2 1 1,097 22,900 2 origin page fetches
    assembly, lever 1 1 0 644 11,540 1 origin page fetch
    template, off 2 1 1,097 2,428 1 load
    template, lever 2 1 0 644 2,344 1 load

    A template route can carry its artifact in the page with inlineMaxBytes. That saves the artifact request and nothing else, since the route loads once either way, and every network view of the page carries the element whether a worker was there to use it. It is off by default.

    For a proxied page the first lever removes 1 origin page fetch and one document transfer from each cold visit. At the median document of the headline (17,054 B) that is 12.4 J (L2: the transfer at the SWD v4 rate plus one origin request). No reading says how many visits are cold.

    The catalogue ships the data of pages a visitor may open next when the share expected to open them repays the entry. This reading replays MSNBC (UCI dataset 133, CC BY 4.0): the ordered page categories of 989,818 visitors over one day in 1999, a median of 2 pages each. Visitors with an odd index are scored and the others build the counts. A scored step is a first view, a page the visitor had not opened, since a page already opened is held without a prediction (354,425 first views). Categories stand in for route classes, and the data has no URLs. Each arm provisions a candidate when its net joules are positive at a lower confidence bound of 1.28. Hits and provisions are counts (L1). Joules are L2 over three entry sizes: 473 B, a measured rendered-field entry; 2,048 B; and a 17,054 B document.

    arm entry bytes hit@1 hit@3 provisions hits net J J per provisioned KB
    none 473 0.000 0.000 0 0 0 none
    none 2,048 0.000 0.000 0 0 0 none
    none 17,054 0.000 0.000 0 0 0 none
    popularity 473 0.152 0.311 3,751,800 316,199 2,670,581 1.50
    popularity 2,048 0.152 0.311 202,025 17,760 -69,350 -0.17
    popularity 17,054 0.152 0.311 0 0 0 none
    population-1 473 0.227 0.468 1,931,666 259,025 2,564,864 2.81
    population-1 2,048 0.227 0.468 134,827 22,698 87,826 0.32
    population-1 17,054 0.227 0.468 0 0 0 none
    population-first 473 0.238 0.475 1,120,721 185,063 1,918,176 3.62
    population-first 2,048 0.238 0.475 0 0 0 none
    population-first 17,054 0.238 0.475 0 0 0 none
    device-1 473 0.000 0.000 0 0 0 none
    device-1 2,048 0.000 0.000 0 0 0 none
    device-1 17,054 0.000 0.000 0 0 0 none
    blend-1 473 0.227 0.468 1,931,666 259,025 2,564,864 2.81
    blend-1 2,048 0.227 0.468 134,827 22,698 87,826 0.32
    blend-1 17,054 0.227 0.468 0 0 0 none
    blend-2 473 0.227 0.468 1,931,666 259,025 2,564,864 2.81
    blend-2 2,048 0.227 0.468 134,827 22,698 87,826 0.32
    blend-2 17,054 0.227 0.468 0 0 0 none
    oracle 473 1.000 1.000 354,425 354,425 4,265,565 25.44
    oracle 2,048 1.000 1.000 354,425 354,425 3,875,705 5.34
    oracle 17,054 1.000 1.000 354,425 354,425 161,263 0.03

    Whether the probabilities themselves are right is a separate question from whether the decisions pay. Each scored step bins every page the visitor had not opened by the probability an arm gave it, and the last column is how often that page came next.

    arm probability bin candidates mean probability given came next
    popularity 0.00 to 0.05 15,489,366 0.026 0.007
    popularity 0.05 to 0.10 9,248,548 0.082 0.019
    popularity 0.10 to 0.20 2,354,621 0.131 0.028
    population-1 0.00 to 0.05 24,788,029 0.013 0.010
    population-1 0.05 to 0.10 1,601,271 0.072 0.047
    population-1 0.10 to 0.20 607,834 0.120 0.053
    population-1 0.20 to 0.40 16,523 0.259 0.039
    population-first 0.00 to 0.05 26,308,330 0.010 0.011
    population-first 0.05 to 0.10 633,235 0.072 0.083
    blend-1 0.00 to 0.05 25,515,324 0.011 0.010
    blend-1 0.05 to 0.10 1,186,623 0.071 0.057
    blend-1 0.10 to 0.20 299,292 0.121 0.079
    blend-1 0.20 to 0.40 12,418 0.248 0.048
    blend-2 0.00 to 0.05 25,632,099 0.010 0.010
    blend-2 0.05 to 0.10 1,072,693 0.070 0.060
    blend-2 0.10 to 0.20 296,564 0.121 0.080
    blend-2 0.20 to 0.40 12,301 0.249 0.048

    The all-views share (population-1) is over-confident exactly where decisions are made: in the 0.20 to 0.40 bin it gave 0.259 and the page came next 0.039 of the time. The cause is that it counts returning visits, and a visitor who has already opened a page is far more likely to return to it than one who has not, while an entry goes only to devices that have not. population-first counts only first views of the page, over every view from the page, and is calibrated or slightly conservative in the bins it fills. It earns more per provisioned kilobyte than either other arm at 473 B, and it provisions nothing at 2,048 B, so it nets less in total there. nextShare(views, from, { first: true }) computes it from the sink.

    A first-order model over the population's counts earns more per provisioned kilobyte than the most popular page at 473 B and 2,048 B, and at 2,048 B the most popular page loses joules. Under a byte cap per catalogue that is the figure to rank by; without a cap, the most popular page provisions more entries and nets slightly more in total at 473 B. No arm provisions a whole document at a gain. Models that add each visitor's own history match the population model exactly, because a visitor here opens two pages. The data cannot show whether history over many days helps, so spool has no device-side learner. NavModel and the net rule are in @drupflare/spool/protocol for a site to train on its own telemetry.

    The proxy has four byte-saving levers beyond the trim: converting JPEG and PNG to WebP under a width ceiling, deferring video, replacing embeds with a facade, and sending new CSS and JavaScript aggregates against text the browser already holds. This section sizes each one on a first view of a page, with the median first, then the mean. Every byte figure is L1 (a crawl or a Chromium coverage run). Every joule figure is L2: those bytes at the Sustainable Web Design v4 rate of 0.194 kWh/GB, with no origin term, since a smaller file is the same request.

    The levers cut the bytes of a network view and leave its request in place. The figures below apply to a first view of a page. A view answered inside the page costs no request and no bytes, and a document navigation that reaches the network costs the requests set out in Demand Per Client. The levers therefore sit beside the request count and do not replace it.

    Two corpora carry the figures and they are never added together. The image-crawl corpus is 70 desktop pages on 16 public sites, each loaded with an empty cache (reading measurements/image-crawl). The trim corpus is 75 internal pages on 10 Drupal sites of the trim reading, which is where the aggregate churn was measured. A page's saving is the sum of its levers, and a site's figure is the mean over its pages.

    Lever Corpus Pages with a saving Median page Median of pages that save Median site Mean
    WebP at native size under the 2560 px ceiling (images) image-crawl, 16 sites 59% of 70 65.5 KB (45.7 J) 398.0 KB (278 J) 248.6 KB (174 J) 1,211.8 KB (846 J)
    Resize to the rendered width, Chromium with hints (images) image-crawl, 16 sites 43% of 70 0.0 KB (0 J) 151.1 KB (105 J) 19.7 KB (13.8 J) 206.8 KB (144 J)
    Video preload none, for videos that do not autoplay (video) image-crawl, 16 sites 3% of 70 0.0 KB (0 J) 16.5 KB (11.5 J) 0.0 KB (0 J) 0.5 KB (0.330 J)
    Video autoplay deferred (video, option) image-crawl, 16 sites 10% of 70 0.0 KB (0 J) 31.1 KB (21.7 J) 0.0 KB (0 J) 112.1 KB (78.3 J)
    YouTube and Vimeo facade, pages with no CSP (embeds, option) image-crawl, 16 sites 9% of 70 0.0 KB (0 J) 3,076.1 KB (2,148 J) 0.0 KB (0 J) 276.9 KB (193 J)
    Trimmed stylesheets (trim, option) trim, 10 Drupal sites 60% of 75 3.2 KB (2.21 J) 27.6 KB (19.3 J) 13.8 KB (9.61 J) 15.2 KB (10.6 J)
    New aggregates against the text of earlier pages, a ceiling (dictionary) trim, 10 Drupal sites 80% of 75 94.9 KB (66.3 J) 126.0 KB (88.0 J) 94.7 KB (66.1 J) 131.6 KB (91.9 J)

    Images are the one lever with a median page above zero. Resizing, video, embeds and the trim reach a minority of pages, so their median page is at or near zero, and a few image-heavy or embed-heavy pages carry every mean. The share of pages with any saving and the median site describe the typical case. The mean is the figure to multiply by a view count.

    The dictionary row is a ceiling. It compresses each new aggregate against the concatenated text of every earlier page (the last 1 MiB), which a browser does not hold: it holds the dictionaries the server marked, and it sends one of them. The row says what the repeated bytes in new aggregates are worth, and nothing about how many of them a real dictionary choice recovers.

    The 356 new files of 10 Drupal sites in the dictionary-size reading (the home page and four internal pages of each, same-origin CSS and JavaScript, bytes only, L1) show how much of that ceiling a real choice recovers. Every arm is measured against brotli 11 alone, and a file that gains nothing goes out plain.

    Dictionary choice Coding Median site, share of brotli 11 bytes saved All files Median internal page Internal pages saving over 5%
    Oracle: the best earlier file of the same kind dcz (zstd 19) 41.4% 48.8% 74.3 KB 27 of 29
    Oracle: the best earlier file of the same kind dcb (brotli 11) 42.0% 49.7% 74.6 KB 28 of 29
    Browser: the latest earlier file of the same directory dcz (zstd 19) 2.0% 27.2% 1.0 KB 9 of 29
    Browser: the latest earlier file of the same directory dcb (brotli 11) 3.3% 28.2% 1.8 KB 13 of 29
    Server base, used once the visit has fetched it dcz (zstd 19) 3.9% 14.2% 0.4 KB 14 of 29
    Server base, used once the visit has fetched it dcb (brotli 11) 5.1% 14.3% 0.4 KB 15 of 29
    Server base held from an earlier visit, chosen with the page measured dcz (zstd 19) 29.9% 47.4% 36.3 KB 22 of 29
    Server base held from an earlier visit, chosen with the page measured dcb (brotli 11) 30.3% 47.6% 36.4 KB 23 of 29
    Server base held from an earlier visit, chosen without the page measured dcz (zstd 19) 32.6% 60.1% 36.3 KB 24 of 29
    Server base held from an earlier visit, chosen without the page measured dcb (brotli 11) 32.8% 60.3% 36.4 KB 26 of 29

    A browser that picks the latest earlier file of the same directory saves 2.0% at the median site with dcz. A server that marks one base file per directory saves 3.9% on a first visit, because the base has to be fetched before it can serve as a dictionary. For a visitor whose browser already holds the base it saves 32.6%, with the base chosen without the page measured, and 29.9% with it. The oracle saves 41.4% and no browser reaches it. How many visitors hold a base is an L3 scenario that no reading here measures. A selector pays only where the base is still in the browser: it has to have been fetched, not evicted, and unchanged since. The table mixes the two measured arms at a share of visitors who hold it, a scenario over L1 bytes, so it brackets a deployed saving and does not predict one.

    visitors who still hold the base median-site saving
    10% 6.5%
    30% 11.7%
    50% 16.9%
    70% 22.1%
    Corpus Figure Built levers With the dictionary ceiling
    image-crawl, 16 sites Median page 227.6 KB (159 J) 227.6 KB (159 J)
    image-crawl, 16 sites Median site 517.6 KB (362 J) 517.6 KB (362 J)
    image-crawl, 16 sites Mean 1,808.1 KB (1,263 J) 1,808.1 KB (1,263 J)
    trim, 10 Drupal sites Median page 3.2 KB (2.21 J) 126.0 KB (88.0 J)
    trim, 10 Drupal sites Median site 13.8 KB (9.61 J) 114.6 KB (80.0 J)
    trim, 10 Drupal sites Mean 15.2 KB (10.6 J) 146.7 KB (102 J)

    The first-view saving applies to a network view of a page the visitor has not seen. The share of views that are such views is the L3 input of the trim section, and the table below runs it at its three values. The table gives each figure as kWh per million views, the unit of Unit and Scope, at the three shares. The mix is the corpus named in each row, with the cold-view share as the L3 input.

    Corpus First-view share (L3) Figure Built, kWh per million views Ceiling, kWh per million views
    image-crawl, 16 sites Low, 45% Median page 19.9 19.9
    image-crawl, 16 sites Low, 45% Median site 45.3 45.3
    image-crawl, 16 sites Low, 45% Mean 158 158
    image-crawl, 16 sites Central, 60% Median page 26.5 26.5
    image-crawl, 16 sites Central, 60% Median site 60.3 60.3
    image-crawl, 16 sites Central, 60% Mean 210 210
    image-crawl, 16 sites High, 75% Median page 33.1 33.1
    image-crawl, 16 sites High, 75% Median site 75.3 75.3
    image-crawl, 16 sites High, 75% Mean 263 263
    trim, 10 Drupal sites Low, 45% Median page 0.277 11.0
    trim, 10 Drupal sites Low, 45% Median site 1.20 10.0
    trim, 10 Drupal sites Low, 45% Mean 1.33 12.8
    trim, 10 Drupal sites Central, 60% Median page 0.368 14.7
    trim, 10 Drupal sites Central, 60% Median site 1.60 13.3
    trim, 10 Drupal sites Central, 60% Mean 1.77 17.1
    trim, 10 Drupal sites High, 75% Median page 0.460 18.3
    trim, 10 Drupal sites High, 75% Median site 2.00 16.7
    trim, 10 Drupal sites High, 75% Mean 2.21 21.4

    Local views add a second ceiling that does not depend on any lever above: a local view replaces the whole repeat view if every file in it is answered locally. The median whole repeat view is 66.3 KB (46.3 J, L2). An optimized HTTP cache already keeps the static files of a repeat view, so most of that figure is the baseline fix's saving and not spool's. It is the upper bound on what a local repeat view could remove.

    Local share of views Repeat-view ceiling, kWh per million views
    Meaningful, 30% 3.86
    Major, 65% 8.37
    Transformative, 90% 11.6

    The ledger above is attributional (L2): bytes at a fixed rate. The table below holds meter readings (L1) of what individual steps cost the machine that runs them. They come from the package counter of paisley-park, a Ryzen 9 9900X, and from the iPhone battery gauge for the phone row. They leave out the display, the network and every machine between the two ends, so they do not add to the ledger and are not a second way to compute it. Each cell is the median of the kept windows with the minimum and maximum in brackets, in joules or watts above the idle draw of the same round unless the row says package watts.

    Quantity Arm Median (min to max) Windows Layer
    J saved per local view against optimized HTTP caching paisley-park desktop, Chromium 0.80 (difference of the arm medians) 16 kept, 0 dropped L1
    J saved per local view against optimized HTTP caching iPhone 14 Pro, Wi-Fi, whole-phone counter 0.088 (difference of the arm medians) 3 rounds L1
    mJ per image decoded above idle createImageBitmap, original JPEG or PNG 58.6 (57.0 to 62.8) 6 kept, 0 dropped L1
    mJ per image decoded above idle createImageBitmap, WebP at native size 81.7 (79.5 to 88.1) 6 kept, 0 dropped L1
    mJ per image decoded above idle createImageBitmap, WebP resized to the rendered width 46.3 (45.8 to 47.2) 6 kept, 0 dropped L1
    mJ per image decoded above idle <img> at its CSS width, original JPEG or PNG 511.1 (458.5 to 526.6) 6 kept, 0 dropped L1
    mJ per image decoded above idle <img> at its CSS width, WebP at native size 487.3 (471.1 to 496.0) 6 kept, 0 dropped L1
    mJ per image decoded above idle <img> at its CSS width, WebP resized to the rendered width 451.6 (420.9 to 456.7) 6 kept, 0 dropped L1
    J per conversion to WebP above idle tinyimg 1.1.1, module loaded, native size 0.57 (0.56 to 0.58) 6 kept, 0 dropped L1
    J per conversion to WebP above idle tinyimg 1.1.1, module loaded, rendered width 0.44 (0.44 to 0.45) 6 kept, 0 dropped L1
    J per conversion to WebP above idle tinyimg 1.1.1, fresh Node process per pass, native size 0.64 (0.63 to 0.65) 6 kept, 0 dropped L1
    J per MB of input above idle tinyimg 1.1.1, module loaded, native size 6.94 (6.79 to 7.04) 6 kept, 0 dropped L1
    J per MB of input above idle tinyimg 1.1.1, module loaded, rendered width 5.32 (5.26 to 5.42) 6 kept, 0 dropped L1
    J per MB of input above idle tinyimg 1.1.1, fresh Node process per pass, native size 7.74 (7.64 to 7.81) 6 kept, 0 dropped L1
    package W, no browser running idle windows of the kept rounds (median per round, then over rounds) 18.2 (18.0 to 18.5) 32 kept, 0 dropped L1
    package W a quiet visible page 18.2 (18.1 to 18.4) 8 kept, 0 dropped L1
    package W a page polling a local endpoint once a second 18.7 (18.6 to 18.9) 8 kept, 0 dropped L1
    package W a requestAnimationFrame loop moving one box 21.8 (21.6 to 22.2) 8 kept, 0 dropped L1
    package W the same loop with its box 3000 px down, off screen 20.8 (20.7 to 28.8) 8 kept, 0 dropped L1
    package W the off-screen loop with the pause hook 18.3 (18.2 to 18.7) 8 kept, 0 dropped L1
    W above the idle of the same round a quiet visible page 0.08 (-0.11 to 0.19) 8 kept, 0 dropped L1
    W above the idle of the same round a page polling a local endpoint once a second 0.54 (0.14 to 0.78) 8 kept, 0 dropped L1
    W above the idle of the same round a requestAnimationFrame loop moving one box 3.68 (3.42 to 3.82) 8 kept, 0 dropped L1
    W above the idle of the same round the same loop with its box 3000 px down, off screen 2.71 (2.52 to 10.31) 8 kept, 0 dropped L1
    W above the idle of the same round the off-screen loop with the pause hook 0.16 (-0.00 to 0.42) 8 kept, 0 dropped L1
    package W a hidden page with no timers 18.4 (18.4 to 18.8) 8 kept, 0 dropped L1
    package W a hidden page polling once a second 18.7 (18.6 to 18.9) 8 kept, 0 dropped L1
    package W the hidden polling page with the pause hook 18.4 (18.4 to 18.6) 8 kept, 0 dropped L1
    W above the idle of the same round a hidden page with no timers 0.37 (0.19 to 0.82) 8 kept, 0 dropped L1
    W above the idle of the same round a hidden page polling once a second 0.63 (0.43 to 0.70) 8 kept, 0 dropped L1
    W above the idle of the same round the hidden polling page with the pause hook 0.35 (0.25 to 0.50) 8 kept, 0 dropped L1
    mJ per page load above idle (one aggregate file) brotli 11, 432,066 B on the wire 769.4 (760.6 to 815.3) 6 kept, 0 dropped L1
    mJ per page load above idle (one aggregate file) dcz against a stored dictionary, 105,331 B on the wire 686.1 (633.4 to 741.5) 6 kept, 0 dropped L1

    A window is dropped when other containers on the host used more than 100 ms of CPU per second of it. In the image-encode reading 0 of its windows were dropped, in image-decode 0, and in dictionary-load 0. The rule sees only containers. It missed a container that started inside a window until the rig was changed to count one from zero, and it never sees a host process.

    Format-only WebP does not lower decode energy. Through createImageBitmap, a WebP at its native size cost 1.39 times the energy of the original JPEG or PNG, and the WebP resized to the rendered width cost 0.79 times. Through an <img> shown at its CSS width the native WebP was 0.95 times the original (its range overlaps the original), and the resized WebP 0.88 times (below every original window). That arm waits two animation frames per image and takes 33.3 ms an image against 1.8 ms for the bitmap path, so most of its window is frame waiting and its variants differ by less. The byte saving of a format-only conversion therefore comes with a decode cost on the pure decode path, and the decode figure favours WebP only for a file that was also resized. All of this is the 40 crawled images of the set, 6 rounds, one Chromium on one desktop.

    Converting an image costs 0.57 J with the module loaded (about 20 ms of one busy thread, 6.94 J per MB of input over a set of 40 images, 6 rounds). A fresh Node process per pass costs 0.64 J, 12% more. Resizing to the rendered width first costs 0.44 J. The proxy caches each result, so a conversion is paid once per image and variant. On the meter alone, the decode saving of an <img> repays a conversion after 8 views at the rendered width and 25 at native size (the conversion's joules over the original's decode joules less the variant's). That counts the device and the proxy and leaves the network out, which has no metered figure. One kilobyte moved is 0.70 J at the SWD v4 rate (L2), more than the decode saving of a view, so the proxy converts every image it can.

    A visible page with no timers drew 0.08 W above the idle of its round. A once-a-second poll to a local endpoint added 0.54 W and a requestAnimationFrame loop moving one box added 3.7 W (221 J a minute). All 8 rounds are kept: no round's idle windows disagreed by more than 25%, and the CPU rule dropped 0 windows. The 32 idle windows ran from 17.9 W to 19.4 W. Each activity figure rests on 8 windows, one per round, on one machine.

    With its box off screen, the loop still drew 2.71 W above idle (2.52 to 10.31). The same page with the pause hook drew 0.16 W (0.00 to 0.42). The hook removed 2.55 W from the same page, and what is left above the quiet page is 0.08 W. The top of the saving range, 10.3 W, comes from one window of the plain arm that read 28.8 W of package power in the first round while the other 7 read 20.7 to 21.0 W. Its cause is not established, and the median does not depend on it. The saving applies to a page that keeps a frame loop running while its target is off screen, and says nothing about pages that have no such loop.

    The hidden pair ran in headed Chromium under a virtual display, with a second tab brought to the front by the DevTools protocol so that the first tab reports hidden (every row records it, and a row that did not would have stopped the run). Background throttling did not stop the poll: the plain page's callback fired 291 times in a 300 s window. Over 8 rounds the idle windows ran at 18.1 W. The hidden quiet page drew 0.37 W above idle, the plain poll 0.63 W and the poll with the hook, which clears its interval after the page has been hidden for 1 s, 0.35 W. The hook removed 0.28 W from the same hidden page, with a range of -0.07 to 0.46 W, and the page with the hook drew -0.02 W above the hidden quiet page. The range includes zero, so this page claims no saving from the hidden-page pause. It rests on one desktop, one browser and a once-a-second poll.

    Chromium 151.0.7922.34 negotiates compression dictionary transport on the box: the page's request for the target carried Available-Dictionary, its Accept-Encoding listed dcb and dcz, and the origin answered dcz. The pair is two JavaScript aggregates of one Drupal site, a dictionary of 1,131,781 B and a target of 1,719,688 B. The target is 432,066 B on the wire as brotli 11 and 105,331 B as dcz, 76% fewer. A page load that fetched the target cost 769.4 mJ above idle as brotli and 686.1 mJ as dcz, 11% lower over 6 rounds of 60 loads (the dcz arm's range sits below the brotli arm's). The figure counts the browser's decode and the loopback transfer. It leaves out the network, and the server's encode, which this origin did once at start-up. The pair comes from the churned JavaScript aggregates, where the delta is large, so its byte saving sits above the 29.9% that the dictionary-size reading gives at the median site for a base the visitor already holds. One pair in one browser shows that dcz decode costs no more than brotli decode here. It says nothing about how many visitors hold a dictionary.

    A page that polls costs more when the browser holds more tabs, and a poll in a tab hidden for a long time may cost a different amount again. This reading ran in one headed Chromium on one desktop, under a virtual display. Each row is one window of 60 seconds, and the long hidden window is 120 seconds, over 6 rounds. The idle draw ran at 18.6 (18.4 to 18.9) W. 0 windows were dropped for contamination from other containers, and 0 three-tab windows had no quiet window in their round to net against.

    arm netted against J per minute (L2, median) range over windows (L2) origin requests per minute (L2, median) windows hidden for s at the window (L1, min to max)
    one tab polling once a second (the control) idle 49.0 49.0 (22.1 to 133.8) 60 6 8.0 to 8.0
    three tabs, each polling once a second tabs-3-quiet 27.7 27.7 (-1,059.4 to 37.5) 171 6 8.0 to 8.0
    three tabs, one leader polling and two listening tabs-3-quiet 13.8 13.8 (-1,095.6 to 36.1) 60 6 8.0 to 8.0
    three tabs with nothing running idle 37.5 37.5 (16.7 to 1,145.3) 0 6 8.0 to 8.0
    one tab polling once a second, hidden 330 s before the window idle -10.8 -10.8 (-25.9 to 877.0) 1 6 330.0 to 330.1

    The two three-tab polling arms are netted against the three-tab quiet arm of their round. The one-tab and hidden arms net against the idle draw alone, because the rig has no quiet arm of their own. The ratio to one tab therefore compares a netted figure with one that still carries one open tab. The three-tab poll costs 2.0 times the leader arm and 0.6 times the one-tab control.

    The leader is written into the rig's page. spool ships no leader election. The tab that holds the Web Lock polls and posts each result on a BroadcastChannel, and the two other tabs only listen. The window counts the polls each tab sent and the messages each received. The lock holder sent a median of 60 polls a window, and the tabs together received a median of 120 messages. A poll from a tab without the lock stops the run.

    The hidden tab waited 330 seconds after it was hidden before its window opened, which is past the five minutes at which Chromium starts intensive throttling. In that window it sent 1.0 origin requests a minute.

    The reading covers one browser on one machine. Its rows hold raw quantities, and the per-minute figures and ratios are derived from them (L2). It changes no input in src/report/inputs.ts. The retake rule in scripts/impact.ts (ORIGINAL_RAPL) does not list this experiment, because it has no earlier reading.

    Lazy loading changes when an image loads, so its saving exists only for a visit that does not scroll. The crawl loaded pages twice, once as the origin sent them and once with loading="lazy" added by the proxy's rewrite. Both loads went through the same Playwright route, so neither had a browser cache. The columns are image bytes requested before the first scroll. This is not part of the tables above, which count bytes any visitor receives. The first rows are the first crawl, with the first rule and skip 2. The other rows are three later crawls of up to five pages per site, one per skip, with the rule that also leaves an image with fetchpriority, one that a preload link names and one inside a <header>.

    Rule Profile Pages loaded twice Median page before the first scroll, as sent With the rewrite Pages that loaded less Median of those pages Pages with an image as the largest element Rewrite put lazy on that element
    skip 2, first rule Desktop, 1440 px 43 1,334.1 KB 1,334.2 KB 56% 10.4 KB 13 0
    skip 2, first rule Pixel 7 43 1,372.5 KB 1,102.8 KB 63% 11.6 KB 14 1
    skip 2 Desktop, 1440 px 70 983.4 KB 935.8 KB 53% 8.7 KB 23 2
    skip 2 Pixel 7 70 964.7 KB 772.2 KB 54% 11.3 KB 20 2
    skip 3 Desktop, 1440 px 70 983.6 KB 936.0 KB 59% 8.6 KB 23 1
    skip 3 Pixel 7 70 965.0 KB 761.1 KB 53% 11.5 KB 20 2
    skip 4 Desktop, 1440 px 70 983.6 KB 936.0 KB 56% 4.6 KB 23 1
    skip 4 Pixel 7 70 1,059.3 KB 1,059.5 KB 63% 7.0 KB 20 0

    The last column counts pages where the rewrite put loading="lazy" on the element the browser reported as the largest contentful paint, and the origin had not. Any count above zero is a page whose load the rewrite can slow, so the option stays off by default. No value of skip tested reached zero on both profiles. Skip 4 left the fewest, 1 of 23 desktop pages and 0 of 20 Pixel 7 pages with the largest element made lazy, and skip 2 left 2 of 23 desktop pages and 2 of 20 Pixel 7 pages.

    Every number on this page comes from a reading in measurements/ or from an input in src/report/inputs.ts. bun run impact regenerates the page from those, and bun run impact:check fails when the committed page differs from what the readings produce. Edit docs/impact.src.md, never docs/impact.md.

    Two channels carry the energy numbers. The capacity channel is the ceiling: what an institution reaches when it acts on the numbers and removes servers, at 3.80 MWh per retired server-year. It counts only when equipment is actually removed. The per-view figures in the views channel are floors. They are measured, and the work is to raise them.

    Tiers on this page are relative to an institution's own views. The tables give energy per million views, so no table depends on a traffic assumption. Only the Institution blocks use yearly view counts, because those counts are their scenario inputs.

    Each figure carries one label, and a derived figure keeps its label wherever it travels.

    label meaning
    L0 published by someone else, with its source named
    L1 measured here, on the hardware the reading's file describes
    L2 derived: arithmetic over L0 and L1 figures
    L3 a scenario: an assumption, or a what-if no reading backs

    A figure that mixes an L2 product with an L3 term is L3 as a whole. The 12.4 J headline is L2, and the table that builds it says so.

    Spool counts five quantities and never assumes they move together.

    1. Browser resource operations. What the browser's network stack reports for a navigation: requests, cache hits and 304s.
    2. On-wire requests. Requests that reach an origin, counted by a proxy between the browser and the origin.
    3. Worker invocations. Requests a Worker runs. A request answered by a static asset or by the browser does not count.
    4. Encoded bytes. Bytes transferred, as sent.
    5. Network-active intervals. The stretches a device's radio stays awake. One avoided request is not one avoided radio wake.

    Where a rig reads device or server energy, joules are a sixth quantity beside these.

    The browser's count and the proxy's count differ, and the difference is the reason for counting both.

    navigation navigations browser network requests proxy requests equal counts browser bytes proxy response bytes proxy requests to other hosts
    Cold home page 16 81.5 83.5 5 of 16 4,777,004 8,278,496 63%
    Warm internal page 82 24.0 28.5 0 of 82 976,383 1,131,257 63%
    Home page again 16 46.5 52.0 1 of 16 1,155,129 4,360,757 73%

    The two counts differ in both directions. The browser's network count leaves out requests it answered from its memory or disk cache, and the proxy sees requests the browser's counter does not attribute to the network. This reading does not explain every difference. The byte columns differ too: on repeat views the proxy saw several times the bytes the browser reports, and the gap is not explained here either. Both counts are printed because neither alone is the wire.

    Three measures feed three different benefits.

    measure definition drives
    Z_annual strict zero-network local views over all views, per year the views channel
    Z_daily the same per day, net of the sync and flush requests spool itself sends the Workers free-tier ceiling
    Z_peak_work origin work avoided over origin work without spool in the busiest intervals, by CPU time whether fewer servers meet the same throughput and SLO

    The code is in src/report/traffic.ts. Z_annual names the tiers: Meaningful at 30%, Major at 65% and Transformative at 90%. scripts/measure/traces.ts turns an institution's server-work trace into the intervals Z_peak_work reads.

    The channel's energy, E_views, is the product below, where V is the institution's yearly views, Z_annual the share of its views that are strict zero-network local views, and J_view the joules one local view avoids:

    E_{\mathrm{views}} = V \times Z_{\mathrm{annual}} \times J_{\mathrm{view}}
    

    Two J_view figures exist, and the page always prints both. Both are floors: they count what a meter or a published model attributes to a view today, and the work is to raise them.

    12.4 J per local revisit view is the attributional figure. It applies the Sustainable Web Design v4 intensities (network, data centre and device, 0.194 kWh/GB together) to the bytes of the document request a local view replaces, then adds an origin request. The radio-wake term is 0 J until a phone reading attributes a wake to a network view (see the cellular reading under Measured Readings).

    figure baseline net saving multiplier label applies to provenance
    Origin requests, 121 views 121 requests, no spool 95.9% 24.20x L2 Chromium, 5 requests with spool; counts L1; all origin hits, stub on the Worker library 1.0.0, measured
    Origin requests, 121 views 122 requests, no spool 95.1% 20.33x L2 Firefox, 6 requests with spool; counts L1; all origin hits, stub on the Worker library 1.0.0, measured
    Origin requests, one view a day for 5 days 5 requests, no spool 0.0% 1.00x L2 Chromium, 5 requests with spool, no saving; counts L1; no stub fetched; Firefox did not start library 1.0.0 page runtime, no worker
    Worker-invocation equivalents, 121 views 121 requests, no spool 97.5% 40.33x L2 Chromium; the stub and boot script served from a static tier library 1.0.0, measured
    Worker-invocation equivalents, one view a day for 5 days 5 requests, no spool 0.0% 1.00x L2 Chromium; the stub and boot script served from a static tier library 1.0.0 page runtime, no worker
    Bytes, 121 views, the median document 2,063,534 B, no spool 86.7% 7.51x L2 Chromium; 274,709 B with spool after the ring, boot script and one stub fetch; the 17,054 B median over L1 sizes model over library counts (L3)
    Origin requests, signed-in reader on defaults, 4 days 7 requests, no spool -185.7% 0.35x L2 Chromium, 20 requests with spool, a loss; counts L1; persistent retention, the default; 6 views over 4 days; the spool arm has a memory sink; not what a default install produces: needs principalDatasets: true, the identity option and a principal route; behind spoolProxy, a public route sends a request with a cookie outside the allowlist or an Authorization header to the origin, and a principal route needs identity library 1.0.0, measured
    Origin requests, signed-in reader, session retention (opt-in), 4 days 7 requests, no spool -214.3% 0.32x L2 Chromium, 22 requests with spool, a loss; counts L1; 6 views over 4 days; the spool arm has a memory sink; not what a default install produces: needs principalDatasets: true, the identity option and a principal route; behind spoolProxy, a public route sends a request with a cookie outside the allowlist or an Authorization header to the origin, and a principal route needs identity library 1.0.0, measured
    Origin requests on a held day, persistent retention, day 2 1 request, no spool -300.0% 0.25x L2 Chromium, day 2 of the persistent reader; 4 requests with spool (a beacon, the sync and the dataset request, and a stub check), a loss; counts L1; not what a default install produces: needs principalDatasets: true, the identity option and a principal route; behind spoolProxy, a public route sends a request with a cookie outside the allowlist or an Authorization header to the origin, and a principal route needs identity library 1.0.0, measured
    Origin requests, session revoked on the server after day 2 7 requests, no spool -157.1% 0.39x L2 Chromium, 18 requests with spool, a loss; counts L1; persistent retention; no held page on day 3; not what a default install produces: needs principalDatasets: true, the identity option and a principal route; behind spoolProxy, a public route sends a request with a cookie outside the allowlist or an Authorization header to the origin, and a principal route needs identity library 1.0.0, measured
    Origin requests, public edit, family route 9 requests, no spool -11.1% 0.9x L2 Chromium, 10 requests with spool, a loss; counts L1; 9 views over 4 days library 1.0.0, measured
    Origin requests, public edit, stored-page route 9 requests, no spool -88.9% 0.53x L2 Chromium, 17 requests with spool, a loss; counts L1; 9 views over 4 days library 1.0.0, measured
    Worker invocations over the visit, static tier, Chromium 130 invocations, no spool 96.2% 26.00x L2 Chromium, stamped static files; unstamped files also give 5 (counts L1) library 1.0.0, measured
    Worker invocations over the visit, static tier, Firefox 131 invocations, no spool 95.4% 21.83x L2 Firefox, stamped static files; unstamped files also give 6 (counts L1) library 1.0.0, measured
    Worker invocations over the visit, static tier against worker only, Chromium 13 invocations, worker only 61.5% 2.60x L2 Chromium, stamped static files; counts L1 library 1.0.0, measured
    Worker invocations over the visit, static tier against worker only, Firefox 14 invocations, worker only 57.1% 2.33x L2 Firefox, stamped static files; counts L1 library 1.0.0, measured
    Origin requests, one tab, 2,000 views, Chromium 2,000 requests, no spool 99.9% 1,000x L2 Chromium, 2 requests with spool; counts L1; the spool arm was not controlled by the worker in this reading (controlled false) library 1.0.0 page runtime, no worker
    Origin requests, one tab, 2,000 views, Firefox 2,001 requests, no spool 99.9% 667x L2 Firefox, 3 requests with spool; counts L1; the spool arm was not controlled by the worker in this reading (controlled false) library 1.0.0 page runtime, no worker

    Every term counts as energy that goes away when the view makes no request, the same sense drupflare's own impact page uses. The figure is an allocation of a published model over measured bytes. No meter read it.

    A default local view replaces one request, the page's document. The model prices that request: 17,054 B, the median repeat-view document over every repeat-navigation reading (59 views from 4 readings). The rest of a repeat view is left out. An optimized HTTP cache already keeps a site's static files, so those bytes are the baseline fix's saving and not spool's. The page's own API calls and every third-party request still leave the browser during a local view, unless the site declares data routes or turns on the third-party cache. For scale, the whole repeat view's median is 66,343 B, and the latest reading's median is 32 network requests over 15 sites. Every site read so far is under Per-Site Figures.

    1. The attributional headline already holds a data-centre term (SWD v4's 3.4 J of the bytes term). Where a workload's origin joules were measured, they replace that term and the modelled origin request. They never add to the headline.
    2. The meter-visible figure is the part of the headline spool controls directly. The origin-term figures break the headline down. They do not add to it.
    3. Origin-term and power-state joules on a node that is later retired sit inside that node's retired 3.80 MWh. Subtract them from the views and retained-node figures for that node.
    4. A projection view reports server joules removed, device joules added and provisioning bytes, per device class. Only the net is credited.
    5. Network hardware stays out of the measured savings. The 12.4 J headline still carries SWD's network term (3.6 J of the bytes term), and that term is attributional: a published per-byte intensity applied to measured bytes. It is not a measurement of any router, and network energy is not proportional to data volume (Mytton, Lunden and Malmodin 2024, abstract only). One institution's traffic is a small share of any operator node's load, so no causal tie to an operator's power state can be shown from it.
    6. Every figure keeps its label. Hyperscale per-request figures are never printed as spool savings.
    7. Embodied energy is a separate kgCO2e line.

    Each finding forced a mechanism in code. Labels give what was read: full text, abstract only, or a web page.

    finding source (label) mechanism
    On 10 of 25 sites a page rendered from cache used 6.8% to 40.5% of the networked load's energy; on the other 15, dynamic script and style requests could not be cached, and the paper names Google Analytics as one cause Thiagarajan et al., WWW 2012 (full text) batched analytics in src/sw/analytics.ts; zero requests per view as the target
    92% of HTML tags were identical across loads 12 hours apart, 75% across a week Mardani et al., Fawkes, NSDI 2020 (full text) dependency-level sync and hard and soft freshness (src/sw/freshness.ts)
    Safari deletes script-writable storage after 7 days without interaction WebKit blog 10218 (full text) a re-provision path and P_warm reported per engine
    Network, data centre and device intensities of 0.059, 0.055 and 0.080 kWh/GB Sustainable Web Design v4 (web page) the attributional headline in src/report/inputs.ts
    43% of higher-education sessions are on phones, 2.3 pages per session OHO 2023 benchmarks, 2022 data (web page) the mobile share and the session-entry view
    A controlled navigation reaches the origin zero times in Chromium and Firefox with updateViaCache: 'all' and a one-day script lifetime the zero-network reading (L1) the registration in src/client/register.ts; the worker script served with max-age=86400
    Cloudflare's analytics script posts to /cdn-cgi/rum about twice per navigation the views reading (L1) beacon queueing in the worker
    Firefox does not route fetch with keepalive through a service worker a probe in the browser run (L1) a limit of the beacon queue in src/sw/analytics.ts: a keepalive post bypasses it
    WebKit re-fetches a page's cacheable subresources once on the first controlled navigation and routes subresources through the worker a probe in the browser run (L1) the worker's asset cache and the per-engine zero-network tests
    Page weight is dominated by new media; a revisit moves few bytes, and the browser still lists dozens of cached requests the repeat-navigation and on-wire readings (L1) the target is the transaction, so Z_annual counts views that make no request
    A server cache already removes recompute, and a projection relocates work the compute readings (L1) the strategies assembly and template first, and the projection net-of-relocation rule
    Median 0.24 Wh for a Gemini text prompt, including 10% provisioned idle and facility overhead Elsworth et al., arXiv 2508.15734 (full text, L0) such figures are never printed as spool savings

    Spool's saving is credited against an optimized HTTP baseline: immutable hashed assets, ETag revalidation and compression. Fixing a site's own asset caching comes first and is not spool's credit. Other baselines it is compared with:

    • Compression Dictionary Transport (RFC 9842). Shrinks bytes for repeat loads, but every view still makes a request.
    • Back-forward cache and Speculation Rules. Make some navigations instant. A bfcache restore needs no request, and it covers only back and forward navigations in one session.
    • The Drupal PWA module. Caches the shell, with no story for authenticated pages.
    • Fawkes-style patching. Sends a patch against a stored template on each load, so it still makes one request per view.
    case bytes, no spool bytes, spool net saving multiplier label
    121 views, 127 B demo page, as measured 15,401 223,952 -1,354.1% 0.069x L1 bytes, L2 ratio
    one view a day for 5 days, 127 B demo page, as measured 645 15,825 -2,353.5% 0.041x L1 bytes, L2 ratio; stub fetched in full on 3 of the 5 days, no validator

    A 127 B document is smaller than the 2,587 B inline gate and 449 B ring that each network document carries (gate L1, from the built gate string in src/server/embedded.ts; ring L2, 3,036 B per document less the gate), so the byte comparison on it says nothing about a real page.

    The meter-visible part is smaller than the headline. These readings are the floor the engineering work has to raise.

    arm J per navigation above idle ms per navigation origin requests per navigation origin CPU ms per navigation rounds
    Optimized HTTP caching 1.45 (1.36 to 1.51) 49.9 3.00 0.33 8
    Spool local view 0.652 (0.593 to 0.693) 10.8 0.00 0.00 8
    Demo shipping headers 5.02 (4.86 to 5.09) 252.4 30.75 2.11 8
    Idle package draw (W) 18.77 (18.37 to 19.29) 8

    Against a page served with optimized HTTP caching, a local view saves 0.80 J on this desktop (the difference of the arm medians over 8 rounds each). Against the demo's shipping headers, where every asset revalidates, the saving is 4.37 J. The second figure belongs to the baseline fix, not to spool. drupflare has since shipped that fix (a one-year cache lifetime on static assets through assets/_headers) and measured it: a repeat navigation of a deployed free-plan drupflare site costs 1.31 J (1.23 to 1.41) on the same desktop over a real network, one request a navigation (drupflare/worker docs/impact.md, L1). That is the baseline spool is measured against on drupflare; a matched spool arm on a deployed site waits for the drupflare adapter.

    The desktop figure includes the package energy of the browser, the co-located origin and the service worker. It excludes the display, the network interface, the radio and every router and data centre between the two ends.

    On the phone:

    arm J per view above idle views per window seconds per view rounds
    Network 0.243 (0.223 to 0.248) 1,666 0.072 4
    Spool local view 0.150 (0.137 to 0.165) 3,208 0.038 4
    Idle window (J) 130.5 (124.0 to 135.9) 4

    A local view saves 0.093 J on an iPhone 14 Pro, back to back over Wi-Fi in this reading (4 rounds, the difference of the arm medians). The same page pair in the projection reading below gives 0.088 J (3 rounds), the figure the rest of this page uses. The counter is the whole phone with the screen on, so the figure includes the display's share while navigating and the Wi-Fi radio. It excludes the cellular radio, its tail state and the network. Back-to-back navigation keeps the radio awake, which understates what a network view costs between idle periods.

    Views paced at one every 15 seconds could not be resolved. Idle windows of 180 seconds varied by 5.2 J, more than the 1.1 J that 12 views would add at the back-to-back saving, so no paced figure is claimed over Wi-Fi.

    Over cellular, with the Wi-Fi switched off, the idle windows were steadier and both pacings resolved:

    reading arm J per view above idle views per window rounds
    Back to back Network 0.265 (0.253 to 0.279) 1,482 4
    Back to back Spool local view 0.164 (0.160 to 0.188) 3,493 4
    One view every 20 s Network 2.98 (2.00 to 3.16) 9 4
    One view every 20 s Spool local view 2.88 (1.99 to 6.34) 9 4

    Back to back, a local view saves 0.101 J over cellular, about what it saves over Wi-Fi. At one view every 20 seconds, each view costs 11 to 18 times its back-to-back cost (most likely the cost of waking the phone from idle for one view; not measured separately), and the network view and the local view cost about the same (0.10 J apart, inside the spread across rounds). A second reading isolates the request. The phone ran the same WebDriver script every 20 s over 6 rounds, once with a fetch to a Worker that answers 204 with no body and once without it. Above idle, a call with the request cost 1.38 (1.10 to 2.68) J and a call without it 0.791 (-0.0452 to 2.59) J: the medians are 0.59 J apart and the ranges overlap. No radio wake can be attributed to the request at this resolution, so the headline carries 0 J for it. The earlier scenario value of 5 J per phone view stays out until a reading attributes one.

    The first-view mechanisms (images, video, scripts and facades) are credited at the attributional rate: the page's wire bytes times SWD v4's 0.194 kWh per GB (L2). The metered figure measures something else. It is the package energy a desktop browser spends on a cold first view of a recorded page, above the idle draw of the same round (L1 windows, L2 per page). This reading covers 52 pages from 26 sites, 242.3 MB on the wire, over 2 rounds of 5 cold navigations per window. 0 windows were dropped for contamination from other containers.

    quantity value layer
    metered package J per first view, mean over pages 54.04 L2
    metered package J per first view, median over pages 47.49 L2
    attributional J per first view (SWD v4 over wire bytes), mean 3,254.75 L2
    attributional J per first view, median 2,844.80 L2
    metered over attributional, mean of the page ratios 2.31% L2
    metered over attributional, median of the page ratios 1.97% L2
    metered mean over attributional mean 1.66% L2
    per-site mean ratio, lowest to highest 0.62% to 10.14% L2

    On these pages the package spent 2.31% of the attributional figure on average, and the median page spent 1.97%. The site means run from 0.62% to 10.14% over 26 sites. The ratio describes the pages measured here. It is not a correction factor for the allocation.

    The class fit regresses each page's metered joules on its image, script and other bytes. It has 52 pages and a residual standard error of 27.39 J (L2). The shares below come from the point fit.

    term J per MB share of metered joules layer
    intercept, J per page 24.10 44.6% L2
    image bytes 1.56 4.7% L2
    script bytes 10.4 34.9% L2
    other bytes (document, stylesheet, font, media, other) 6.97 15.8% L2

    The intervals in the next table are 95% bootstrap intervals over pages: 2,000 resamples of the pages with a fixed seed, and the 2.5th and 97.5th percentiles of the coefficients (L2).

    quantity all pages without demo.drupflare.com layer
    pages 52 50 L2
    median metered J per first view 47.5 49.4 L2
    class fit: residual standard error, J 27.39 27.80 L2
    class fit: R squared 0.301 0.256 L2
    class fit: intercept, J per page 24.10 [15.63, 32.55] 26.83 [16.87, 36.34] L2
    class fit: image, J per MB 1.56 [-0.98, 4.47] 1.37 [-0.80, 4.25] L2
    class fit: script, J per MB 10.43 [6.39, 15.67] 9.65 [5.74, 15.18] L2
    class fit: other bytes, J per MB 6.97 [1.24, 20.37] 6.68 [0.86, 20.29] L2
    bytes only: R squared 0.227 0.184 L2
    bytes only: correlation of joules with total MB 0.48 0.43 L2
    total MB and requests: total MB, J per MB 4.08 [1.64, 8.08] 3.76 [1.32, 8.07] L2
    total MB and requests: requests, J per request 0.17 [-0.05, 0.36] 0.16 [-0.05, 0.35] L2
    class fit and requests: requests, J per request 0.20 [0.03, 0.44] 0.21 [0.02, 0.43] L2
    bootstrap resamples that fit, class fit 2,000 2,000 L2

    The script coefficient is 10.43 J per MB [6.39, 15.67], and the image coefficient is 1.56 J per MB [-0.98, 4.47] (L2). The script and image intervals do not overlap. That is a 95% comparison on one bootstrap, not a formal test, and it does not replace more pages. Dividing one point estimate by the other gives a ratio that these intervals do not bound. Bytes alone explain 0.23 of the variance of the joules (R squared, total MB only; L2). The request term is not resolved. In the class fit with requests it is 0.20 J per request [0.03, 0.44], an interval that excludes zero (L2).

    More rounds would not narrow these intervals much. Each page's figure is already a median over its rounds, and the intervals measure the spread between pages. Only more pages would narrow them.

    demo.drupflare.com runs spool, so it is not a no-spool page. Without its pages, the median is 49.4 J and the script coefficient is 9.65 J per MB [5.74, 15.18] (L2).

    The facade arm serves the same pages with each YouTube or Vimeo iframe replaced by a link to the player, on the 8 pages where that rewrite changes the page. A facade saves 15.82 J per first view on average and 12.24 J at the median, so a few pages carry the mean. It saves 1,111 KB of body bytes on average and 25.1% of the page's metered joules (L1 windows, L2 derived). 8 pages are too few to say how much a facade saves on a page that has an embed.

    The desktop idle draw was 18.37 W (median). 49 pages made requests the replay could not answer. The reading keeps them and lists them.

    The metered figure covers the desktop package only. It excludes the network, the display and the data centre, so it is not a per-view energy for a visitor's device.

    The same small site ran under spool 0.1 in four server runtimes on paisley-park, one container at a time, with Chromium on another machine reaching it over Tailscale. Each window was 60 views. The server's package energy and its interface byte counters were read per window, less the idle window of the same round. The overlay interface carries the HTTP traffic; the physical interface adds the relay's framing, since this path went through a Tailscale relay in every round.

    runtime arm server J per view above idle overlay bytes per view wire bytes per view origin requests per view windows
    node Network view 0.643 (0.117 to 1.01) 794 1,580 1.00 (max 1.00) 6
    node Spool local view 0.126 (-0.568 to 0.405) 4 302 0.00 (max 0.08) 6
    node Bare HTML request (curl) 1.08 (0.745 to 1.33) 1,290 3,932 1.00 (max 1.00) 5
    bun Network view 0.620 (0.345 to 0.931) 745 1,616 1.00 (max 1.00) 6
    bun Spool local view 0.259 (-0.0124 to 0.950) 39 556 0.00 (max 0.10) 6
    bun Bare HTML request (curl) 1.20 (0.794 to 1.62) 1,141 3,500 1.00 (max 1.00) 6
    hono Network view 0.608 (0.405 to 0.750) 791 1,566 1.00 (max 1.00) 6
    hono Spool local view 0.188 (-0.0730 to 0.261) 3 109 0.00 (max 0.10) 6
    hono Bare HTML request (curl) 1.10 (0.776 to 1.35) 1,188 3,313 1.00 (max 1.00) 6
    workerd Network view 0.977 (0.577 to 1.49) 732 1,703 1.00 (max 1.00) 6
    workerd Spool local view 0.324 (-0.0238 to 0.430) 21 554 0.00 (max 0.10) 6
    workerd Bare HTML request (curl) 1.35 (1.21 to 1.71) 1,278 4,103 1.00 (max 1.00) 6

    A spool local view sent nothing to the origin in every window but one per runtime, and its server energy is inside the idle drift. The exception is the fourth spool window, which made up to 6 requests to /.spool/* in every runtime. It ended about 15 minutes after the worker was primed, which is when the public routes' default soft bound expires: the timing matches one sync with the held view telemetry flushed on the same network moment (the rig counted /.spool/* requests, not their paths). That is spool's own overhead. The medians above leave it out, since it is one window in six; the measured per-view figure P8 reports nets syncs and flushes against the saving. A bare HTML request from curl costs the server more than a browser view, most likely because curl opens a new connection through the relay for each request while the browser reuses one.

    One request per view is also what breaks the saving. A page that posts to an analytics endpoint on every view makes each view a network view again, with that request's bytes and origin work. On a 2012 3G phone that post also woke the radio (Thiagarajan et al.); this phone showed no wake for an isolated request. Spool queues those posts in the service worker and sends them on a network moment that happens anyway.

    A closed-loop fetch of one 4,096-byte asset from a page, one request at a time, on paisley-park (L1, 8 rounds, 60,000 requests per window for the first three arms and a quarter of that for the two that reach the origin). Millijoules per request above idle:

    arm mJ per request above idle microseconds per request origin requests per request
    Browser cache (immutable, no worker) 14.0 (13.5 to 14.2) 273 0
    Worker answers from CacheStorage 18.9 (18.9 to 20.0) 370 0
    Worker receives the event and answers nothing 17.2 (17.0 to 17.4) 338 0
    Conditional request, 304 19.3 (18.8 to 19.9) 377 1
    Full 200, no-store 19.0 (18.4 to 19.7) 365 1

    A worker answering from CacheStorage costs 4.9 mJ (35%) more per request than the browser's own cache, and 0.4 mJ less than a loopback 304. The ranges of those two arms overlap. A worker that receives the event and answers nothing costs 3.2 mJ more than the cache. For a URL the browser would revalidate on a share of views, a worker that answers it saves energy only when that share is above 93%, which is the worker's extra cost over the browser cache divided by the 304's extra cost over the same cache. A worker should answer a URL only when the browser would otherwise leave for the network on most views.

    The meter reads the package of the browser and the co-located origin over loopback with no emulated latency. It excludes the radio, the network and every hop between. A 304 carries no body and costs the same here as a 200 with 4,096 bytes, so the wire's share is invisible to it. The loop keeps one core busy, so each figure is energy per request in a boosted state, and a sparse real load also pays wake costs this loop never sees. It measures a fetch from the page, and a browser's own favicon request may take a different path.

    The headline's origin term is modelled. For a view the origin would otherwise render, such as an authenticated view or a cache miss (a meaningful share of views), the measured origin joules for that workload replace SWD's data-centre term and the modelled origin request. They never add to the headline. Where a cache would have answered, the term is the cost of a cache hit, a fraction of a millijoule.

    workload origin J per request label J per local view
    Modelled origin request (the headline) 0.455 L1, modelled 12.4 (headline)
    Cache hit 0.000717 L1 8.5
    CMS render 0.0151 L1 8.5
    Analytics page 10.9 L1 19.4
    Local 8B model request 286 L1, GPU sampled 294.5

    Each origin figure is package energy above idle on paisley-park (L1, 8 rounds unless noted) against a synthetic CMS and enrollment database that each file describes. The per-view figure is L2 over the L3 radio term. A real origin's joules replace the origin column when they are measured.

    arm J per request above idle server CPU ms client CPU ms server-attributed J (L2)
    Null route (204) 0.000528 (0.000514 to 0.000583) 0.00699 0.0124 0.000191 (0.000184 to 0.000212)
    CMS recompute, 200 0.0151 (0.0144 to 0.0156) 0.523 0.0238 0.0144 (0.0137 to 0.0148)
    CMS recompute, conditional 304 0.0147 (0.0141 to 0.0156) 0.520 0.0194 0.0141 (0.0136 to 0.0150)
    CMS server cache, 200 0.000717 (0.000692 to 0.000733) 0.00897 0.0159 0.000251 (0.000240 to 0.000263)
    CMS server cache, conditional 304 0.000572 (0.000553 to 0.000581) 0.00763 0.0130 0.000212 (0.000204 to 0.000216)
    Analytics recompute, 200 10.9 (10.7 to 11.1) 393 0.260 10.9 (10.7 to 11.1)
    Analytics recompute, conditional 304 11.0 (10.6 to 11.3) 395 0.245 11.0 (10.6 to 11.2)
    Analytics server cache, 200 0.000655 (0.000644 to 0.000673) 0.00851 0.0149 0.000238 (0.000234 to 0.000246)
    Analytics server cache, conditional 304 0.000569 (0.000550 to 0.000593) 0.00766 0.0131 0.000211 (0.000204 to 0.000220)

    The null route is the transaction floor: loopback HTTP, keep-alive, no body. A cache hit costs about as much as the floor. A CMS render costs 21 times a cache hit and the analytics page about 16.6 thousand times. Across the two recompute rows the rule of thumb is 27.7 to 28.8 mJ of package energy per busy CPU millisecond, for one boosted core in a closed loop. A shared and loaded server amortises idle power differently.

    Chromium navigations with 40 ms of emulated latency, J per navigation above idle:

    page recompute (a) optimized server cache (b) spool local view (c) (a) less (c) (b) less (c) origin CPU ms per navigation, recompute
    CMS render 1.58 (1.57 to 1.64) 1.52 (1.47 to 1.56) 0.694 (0.635 to 0.727) 0.886 0.823 1.5
    Analytics page 13.1 (12.8 to 13.4) 1.65 (1.58 to 1.68) 0.665 (0.634 to 0.771) 12.4 0.984 401.6

    Against an optimized server cache, spool's increment is the transaction only: 0.82 J for the CMS page and 0.98 J for the analytics page, whatever the page costs to compute. Against recompute on every request the saving grows with the computation. The origin term above is the part of that saving the origin accounts for.

    The projection strategy sends records once and lets the page compute the result. It relocates work. Per view, on the desktop:

    arm J per navigation above idle ms per navigation origin requests per navigation
    Server computes every navigation 5.09 (4.96 to 5.17) 176.8 3.01
    Server cache, same page 1.52 (1.47 to 1.54) 50.4 3.00
    Projection, records from the HTTP cache, page over the network 2.05 (1.99 to 2.19) 51.5 3.00
    Projection, service worker serves page and records 0.868 (0.750 to 0.880) 14.5 0.01
    Static local page, no computation 0.679 (0.623 to 0.743) 12.4 0.01

    A local projection costs 0.19 J more than a static local view when the records come from CacheStorage, and 0.53 J more than the cached server page when the network serves the page. The experiment does not explain the difference between those two. It removes 3.57 J of server work per view above a server cache. The records are a one-time transfer of 1.73 MB, which the per-view saving repays after about 340 views against the attributional bytes term (L2).

    On the phone, back to back over Wi-Fi:

    arm J per view above idle views per window rounds
    Network fetch of the computed page 0.228 (0.209 to 0.241) 1,457 3
    Local render of the same page 0.140 (0.138 to 0.155) 2,882 3
    Local render plus on-device aggregation 0.245 (0.221 to 0.248) 1,783 3
    Network page plus aggregation 0.321 (0.304 to 0.322) 1,191 3

    A local projection costs 0.105 J more than a static local view and lands within the range of a network fetch of the computed page. The aggregation of 97,000 rows costs more than the radio-awake fetch it replaces. The server never ran, but the device-side saving of a projection view is about zero in this configuration. The records are synthetic and one size.

    Report a projection as server joules removed, less device joules added, with the provisioning bytes beside both. Credit the net.

    A local 8B model behind the origin, against a cached copy of the same response (5 rounds, 120 output tokens per request, CPU package and a sampled GPU board):

    quantity median (range)
    CPU package J per request 44.0 (43.8 to 45.4)
    GPU board J per request (L1-sampled) 241 (240 to 242)
    Total J per request 286 (284 to 286)
    Latency per request (s) 1.52 (1.51 to 1.54)
    Ollama container CPU per request (ms) 1,563
    Origin CPU per request (ms) 1.85
    Resident model, CPU package (W) 1.29 (0.71 to 1.70)
    Resident model, GPU board (W) 8.57 (8.30 to 9.02)
    Cached copy of the response, J per hit 0.000905 (0.000876 to 0.000912)

    The GPU term is sampled power, labelled L1-sampled. The card's stated accuracy is +-5 W and it has no energy counter. A resident model also draws 9.9 W while idle, which a cache hit does not save unless the model gets unloaded because of it.

    Published per-request figures for hyperscale serving (0.24 Wh median for a Gemini text prompt, L0, and modelled estimates of 0.31 and 3.91 Wh) include host machines, provisioned idle capacity and facility overhead. They describe an attributional stack. They are never printed here as spool savings.

    avoided operation J per operation (L1) kWh per million operations (L2)
    A CMS render 0.0151 0.00
    An analytics page 10.9 3.02
    A local 8B model request 286 79
    The transaction alone, against a server cache (CMS page, desktop) 0.82 0.23

    The first column is the energy one avoided operation saves on this machine. The second is that energy for a million avoided operations, in kWh, an L2 product.

    • If every view were an uncached analytics read, the origin term would add up to 3.02 kWh per million views (L3).
    • At a CMS render's cost, a million avoided renders save 0.00419 kWh.
    • Model inference is the one class whose per-operation joules are large, and it counts only for model-derived results that repeat for identical authorised inputs. Free-form prompts rarely repeat.

    The origin term is measured per workload against the origin's real baseline. It is close to zero where a server cache exists and it is net of device work a projection relocates.

    A view is strict zero-network only when it makes no request at all, and the service worker can answer only same-origin requests. Most requests that leave the browser on the 16 sites of the on-wire reading go to hosts other than the page's own.

    navigation median proxy requests to other hosts share of proxy requests median bytes from other origins (direct run)
    Cold home page 46.5 63% 1,777,317
    Warm internal page 17.0 63% 15,936
    Home page again 26.0 73% 10,229

    Spool's page runtime counts cross-origin loads per view (crossOriginLoads) and a view with any is not strict zero-network. With updateViaCache: 'all' and a 24-hour script lifetime, Chromium and Firefox make no script request on a controlled navigation. WebKit on macOS still checks the script once per document navigation, so a document navigation there costs one request (see Demand Per Client). The zero-network results by engine:

    registration engine navigations reached the origin paths that did
    default registration chromium 13 1 /sw.js x 1
    default registration firefox 13 4 /sw.js x 4
    default registration webkit 13 3 /sw.js x 3
    updateViaCache all, script max-age 86400 chromium 13 0 none
    updateViaCache all, script max-age 86400 firefox 13 0 none
    updateViaCache all, script max-age 86400 webkit 13 5 /sw.js x 5

    The Workers free plan carries 3,040,000 views a month at one request per view. A local view removes that request from the platform, and the protocol syncs when it has something to learn. The ceiling is a request count, so it moves with the share of views that stay local and with how often spool syncs. The table assumes one sync for every 20 local views, an L3 ratio used for illustration only. The scheduler has no fixed interval.

    tier Z_annual views a month on the free plan
    Meaningful 30% 4.25M (from 3.04M)
    Major 65% 7.95M (from 3.04M)
    Transformative 90% 20.97M (from 3.04M)

    A hook that stops a page's loop helps only where the page keeps one running. The crawl loaded the home page of 60 public sites and one inner page of each, each in a fresh browser context, and counted each page for 20 seconds in front and 20 seconds behind a second tab. 108 pages loaded (L1). The shares are shares of pages loaded fresh, not of page views, and no traffic weighting applies. Each share has a Wilson 95% interval (L2).

    class pages share 95% interval second half pages second half interval sites layer
    a frame loop while visible, 20 or more callbacks a second 17 of 108 15.7% 10.1% to 23.8% 8 of 54 (14.8%) 7.7% to 26.6% 11 of 60 L1 counts, L2 shares
    a frame loop while hidden, 1 or more callbacks a second 0 of 108 0.0% 0.0% to 3.4% 0 of 54 (0.0%) 0.0% to 6.6% 0 of 60 L1 counts, L2 shares
    a timer of 1 s or more firing every second while hidden 11 of 108 10.2% 5.8% to 17.3% 8 of 54 (14.8%) 7.7% to 26.6% 8 of 60 L1 counts, L2 shares
    three or more requests in the 20 visible seconds 21 of 108 19.4% 13.1% to 27.9% 14 of 54 (25.9%) 16.1% to 38.9% 15 of 60 L1 counts, L2 shares
    a video that plays with no input 24 of 108 22.2% 15.4% to 30.9% 13 of 54 (24.1%) 14.6% to 36.9% 22 of 60 L1 counts, L2 shares
    an infinite CSS animation running while visible 16 of 108 14.8% 9.3% to 22.7% 10 of 54 (18.5%) 10.4% to 30.8% 12 of 60 L1 counts, L2 shares
    at least one of the six classes above 56 of 108 51.9% 42.5% to 61.0% 32 of 54 (59.3%) 46.0% to 71.3% 39 of 60 L1 counts, L2 shares
    any timer firing every second while hidden, the browser clamp included 60 of 108 55.6% 46.2% to 64.6% 33 of 54 (61.1%) 47.8% to 73.0% 38 of 60 L1 counts, L2 shares

    The crawl ran on a machine its operator was using. The operator says the early part may have been disturbed and the second half should be clean. The reading records no per-window time or load, so the file cannot locate or measure any disturbance. Every window met the 18-of-20 visibility rule. The all-pages column is the pre-registered figure. The second-half column is a sensitivity check: the first half has 54 loaded pages and the second half has 54. The first-half and second-half intervals overlap for every class. No result was dropped, and the crawl was not rerun.

    The thresholds of each class are in the reading's method and were fixed before the crawl. A window counts only when its page was in the state it was recorded in for at least 18 of its 20 seconds. A class that needs a window that failed that test is marked not measured, not false.

    Most loaded pages had at least one class in their front window, and the any row is that union. No page reached the hidden frame-loop threshold. In some hidden windows the page ran nothing at all, not even a one-second timer, while the same page had activity in front. The crawl cannot separate a stopped page from a quiet one, so the hidden rows may read low.

    Some desktop experiments were run again on paisley-park on a later date. Each retake sits beside its original, with the percent difference of the two medians. The retake is a second time point on the same machine. It does not replicate the result independently. The headline figures elsewhere on this page stay on the original readings, and nothing here is averaged with them.

    experiment figure original retake difference % (L2)
    views idle package W (median) 18.8 (L1, 2026-10-19) 18.4 (L1, 2026-11-15) -1.8
    views J saved per view vs optimized HTTP cache 0.801 (L1, 2026-10-19) 0.817 (L1, 2026-11-15) +1.9
    views spool view, J per navigation 0.652 (L1, 2026-10-19) 0.678 (L1, 2026-11-15) +4.0
    views machine name paisley-park, cpu AMD Ryzen 9 9900X, os Ubuntu 24.04, governor powersave (2026-10-19) name paisley-park, cpu AMD Ryzen 9 9900X, os Ubuntu 24.04, governor powersave, cpuidle acpi_idle, menu, pstate amd-pstate-epp, EPP performance (2026-11-15)
    sw-request idle package W (median) 19.4 (L1, 2026-10-20) 18.6 (L1, 2026-11-15) -4.1
    sw-request worker from CacheStorage, mJ per request 18.9 (L1, 2026-10-20) 19.3 (L1, 2026-11-15) +2.3
    sw-request browser cache, mJ per request 14.0 (L1, 2026-10-20) 14.2 (L1, 2026-11-15) +1.9
    compute-server idle package W (median) 19.5 (L1, 2026-10-19) 18.6 (L1, 2026-11-15) -4.4
    compute-server CMS recompute, J per request 0.0151 (L1, 2026-10-19) 0.0181 (L1, 2026-11-15) +20.1
    compute-server analytics recompute, J per request 10.9 (L1, 2026-10-19) 12.4 (L1, 2026-11-15) +14.0
    compute-browser idle package W (median) 19.3 (L1, 2026-10-19) 18.5 (L1, 2026-11-15) -4.1
    compute-browser CMS render, recompute, J per navigation 1.58 (L1, 2026-10-19) 1.61 (L1, 2026-11-15) +1.7
    compute-browser CMS render, spool local view, J per navigation 0.694 (L1, 2026-10-19) 0.691 (L1, 2026-11-15) -0.4
    projection idle package W (median) 19.4 (L1, 2026-10-19) 18.6 (L1, 2026-11-15) -4.2
    projection server recompute, J per navigation 5.09 (L1, 2026-10-19) 5.59 (L1, 2026-11-15) +9.8
    projection projection in the worker, J per navigation 0.868 (L1, 2026-10-19) 0.884 (L1, 2026-11-15) +1.9
    dictionary-load idle package W (median) 19.6 (L1, 2026-10-22) 18.6 (L1, 2026-11-15) -5.5
    dictionary-load brotli 11 aggregate, mJ per page load 769 (L1, 2026-10-22) 766 (L1, 2026-11-15) -0.5
    dictionary-load dcz with stored dictionary, mJ per page load 686 (L1, 2026-10-22) 720 (L1, 2026-11-15) +4.9
    image-decode idle package W (median) 18.7 (L1, 2026-10-22) 19.0 (L1, 2026-11-15) +1.3
    image-decode <img>, original JPEG or PNG, mJ per image 511 (L1, 2026-10-22) 493 (L1, 2026-11-15) -3.6
    image-decode createImageBitmap, original, mJ per image 58.6 (L1, 2026-10-22) 57.1 (L1, 2026-11-15) -2.6

    The saving grows with the size of a site's document. Where the browser's own cache answered the document (a long max-age on the HTML), a local view has no request to replace and saves nothing. The headline is the typical site; an institution's own figure comes from its own pages and traffic. Every site read so far, lightest document first, with the attributional joules a local view of that page avoids. Sites that answered the rig with an error page instead of their home page are left out (www.ox.ac.uk).

    site document bytes, 2026-10-18 document bytes, 2026-10-19 document bytes, 2026-10-19-document document bytes, 2026-10-19-requests whole view bytes, latest reading J per local view
    www.mass.gov 0 0 0 0 327,401 0.0
    www.harvard.edu 0 0 0 0 3,856 0.0
    www.mit.edu 0 0 0 0 0 0.0
    www.unl.edu 415 413 414 414 142,115 0.7
    www.uiowa.edu 515 515 516 513 18,163 0.8
    demo.drupflare.com 5,227 5,259 5,265 5,253 35,906 4.1
    www.berkeley.edu 16,264 16,265 16,265 16,264 17,014 11.8
    www.asu.edu 17,076 17,054 16,746 17,477 27,374 12.7
    www.colorado.edu 18,355 18,337 18,364 18,361 109,609 13.3
    www.cornell.edu 18,924 18,934 18,934 18,925 6,873,140 13.7
    www.yale.edu 31,945 31,946 31,969 31,845 33,392 22.7
    www.tufts.edu 43,166 43,165 43,128 43,134 121,180 30.6
    www.georgetown.edu 56,089 56,098 56,093 56,114 66,343 39.6
    www.rutgers.edu 193,748 193,745 193,742 193,747 14,562,969 135.8
    www.ucdavis.edu not read 957,863 957,877 957,868 1,068,391 669.4

    The requests run of the repeat-navigation rig kept every request of each site's home-page repeat view: its URL without the query string, whether it was same-origin (an exact origin match), its type, bytes, which cache answered it, and its cache headers. The document is the first Document request. Same-origin static is Script, Stylesheet, Font, Image and Media. Same-origin dynamic is every other same-origin request (XHR, Fetch, Ping, EventSource, Other and further documents). Third-party is any other origin, including an institution's own subdomains and media hosts, which is why one university's video host shows up there. Requests the browser cache answered carry no bytes and are left out. 15 of 16 sites loaded their home page (www.ox.ac.uk answered with a block page); the blocked page is listed and left out of every share.

    site document B same-origin static B same-origin dynamic B third-party B whole view B J a local view removes, document only (headline basis) J a local view removes on the site as it ships today, including the cache-header fix
    demo.drupflare.com 5,253 29,617 1,036 0 35,906 4.1 24.8
    www.asu.edu 17,477 0 60 9,837 27,374 12.7 12.7
    www.yale.edu 31,845 0 0 1,547 33,392 22.7 22.7
    www.colorado.edu 18,361 0 76,556 14,692 109,609 13.3 13.3
    www.ox.ac.uk blocked, HTTP 403
    www.berkeley.edu 16,264 0 0 750 17,014 11.8 11.8
    www.cornell.edu 18,925 105,578 0 6,748,637 6,873,140 13.7 87.4
    www.uiowa.edu 513 0 0 17,650 18,163 0.8 0.8
    www.tufts.edu 43,134 0 0 78,046 121,180 30.6 30.6
    www.unl.edu 414 0 0 141,701 142,115 0.7 0.7
    www.georgetown.edu 56,114 0 0 10,229 66,343 39.6 39.6
    www.mass.gov 0 322,073 0 5,328 327,401 0.0 225.4
    www.ucdavis.edu 957,868 0 0 110,523 1,068,391 669.4 669.4
    www.rutgers.edu 193,747 14,353,583 0 15,639 14,562,969 135.8 10,160.3
    www.harvard.edu 0 0 0 3,856 3,856 0.0 0.0
    www.mit.edu 0 0 0 0 0 0.0 0.0

    The last column is a second figure per site and it is not spool's credit. A site that ships today with short cache lifetimes on its static files re-downloads them on every repeat view, and a local view would remove those bytes along with the document. The saving that comes from fixing the cache headers is the baseline fix's, not spool's against an optimized HTTP cache, so the headline stays on the document only. The column prices document plus same-origin static bytes at the same SWD v4 rate and a single origin request, so it is L2 over an L3 simplification: it does not count the origin work of each static request. Its median over the 15 sites is 22.7 J, against 12.4 J for the document alone. Most of that gap sits at a few sites (the largest figure is 10,160.3 J), since a median site's same-origin static share of its repeat view is 0.0%.

    class bytes over all sites pooled share of bytes median share of a site
    Document 1,359,915 5.8% 15.7%
    Same-origin static (Script, Stylesheet, Font, Image, Media) 14,810,851 63.3% 0.0%
    Same-origin dynamic (XHR, Fetch, Ping, Other and the rest) 77,652 0.3% 0.0%
    Third-party 7,158,435 30.6% 14.4%
    Whole repeat view 23,406,853 100.0% 100.0%

    Pooled over all sites, the shares are 5.8% document, 63.3% same-origin static, 0.3% same-origin dynamic and 30.6% third-party, out of 23,406,853 B. The two heaviest sites carry 91.6% of the pooled bytes, so the pooled static and third-party shares describe them more than a typical page. The median site's share is the better read of a typical page.

    class total bytes median bytes per site sites with any
    unknown 7,119,616 9,299 13
    ads 36,470 0 5
    video 2,126 0 4
    analytics 183 0 4
    social 40 0 1

    99.5% of the third-party bytes come from hosts the table in src/report/thirdparty.ts does not know. The largest hosts, by bytes over all sites:

    host class bytes over all sites sites
    cdnsecakmi.kaltura.com unknown 3,415,557 2
    media.univcomm.cornell.edu unknown 3,208,074 1
    cdn.universityrelations.cornell.edu unknown 124,661 1
    ucommchat.unl.edu unknown 89,721 1
    story.tagboard.com unknown 83,654 1
    api.curator.io unknown 56,961 1
    googleads.g.doubleclick.net ads 34,262 5
    mediahub.unl.edu unknown 17,084 1
    events.unl.edu unknown 8,553 1
    www.juicer.io unknown 8,540 1

    The classified origins move little: ad calls total 36,470 B at 5 sites and analytics endpoints 183 B. The third-party report names what blocks zero-network by host; this table says what those hosts cost in bytes. Bytes are not the cost that matters for zero-network, which a single request of any size breaks.

    navigation navigations sites median bytes mean bytes 75th percentile bytes median network requests median document bytes
    Cold home page 15 15 4,992,892 7,318,189 8,472,860 85.0 29,561
    Warm internal page 82 14 971,161 3,609,705 2,283,212 23.5 23,254
    Home page again 15 15 66,343 1,560,457 234,758 32.0 17,477

    Bytes are what the browser received. Requests are the ones the browser sent to the network: a repeat view also lists dozens of sub-resources it answered from its own cache, and those are left out. The on-wire table sets a proxy's count of the same navigations beside the browser's.

    Each third-party request of the home-page repeat view that reached the network is put in one class by its cache headers (L1, counts from the reading). immutable is an immutable directive or a max-age of a year or more. long is a max-age from a day to under a year. short is a max-age under a day, or no freshness with a validator. uncacheable is no-store, or neither freshness nor a validator. The class is computed from the recorded cache-control value and the presence of etag and last-modified. The reading keeps expires as a flag only, so it is not read.

    The reading does not record whether a URL carried a version token, so the share of versioned files is unknown and is not estimated. The answerable bytes count every immutable or long response from a host the origin table calls cache-remedy, versioned or not. They are therefore an upper bound on what a worker could answer without an origin visit. Requests the browser cache answered are left out, as in the split above.

    Shares are over the 13 of 15 sites whose repeat view had third-party network bytes (L2). The median site's share is immutable 0.0%, long 0.0%, short 7.8% and uncacheable 92.2%.

    site third-party B immutable B long B short B uncacheable B answerable B (upper bound)
    demo.drupflare.com 0 0 0 0 0 0
    www.asu.edu 9,837 0 0 703 9,134 0
    www.yale.edu 1,547 0 0 418 1,129 0
    www.colorado.edu 14,692 0 0 3,557 11,135 0
    www.berkeley.edu 750 0 0 750 0 0
    www.cornell.edu 6,748,637 0 3,415,635 3,332,944 58 0
    www.uiowa.edu 17,650 0 0 1,371 16,279 0
    www.tufts.edu 78,046 0 0 2,127 75,919 0
    www.unl.edu 141,701 0 0 1,513 140,188 0
    www.georgetown.edu 10,229 0 0 8,607 1,622 0
    www.mass.gov 5,328 0 0 209 5,119 0
    www.ucdavis.edu 110,523 0 1,846 3,619 105,058 0
    www.rutgers.edu 15,639 0 0 1,516 14,123 0
    www.harvard.edu 3,856 0 0 229 3,627 0
    www.mit.edu 0 0 0 0 0 0
    class median share of a site mean share of a site pooled share of bytes
    immutable 0.0% 0.0% 0.0%
    long 0.0% 4.0% 47.7%
    short 7.8% 25.1% 46.9%
    uncacheable 92.2% 70.9% 5.4%
    answerable (cache remedy, immutable or long) 0.0% 0.0% 0.0%

    Answerable bytes per site, over every site, have a median of 0 B and a mean of 0 B. That is a median of 0.0% of a site's third-party bytes (L2), and 0.0% pooled. These are a ceiling, not a forecast. A worker answers only what its own store holds, and the reading does not show how often that store would hold these responses.

    The origin classes and remedies come from the table in src/report/thirdparty.ts. They are not measured here.

    origin class remedy in the table bytes over all sites immutable or long bytes
    unknown review 7,119,616 3,417,481
    ads network 36,470 0
    video network 2,126 0
    analytics defer 110 0
    analytics review 73 0
    social network 40 0

    A dataset is a collection the server holds per row, such as a course catalogue or a staff roster. A device keeps the rows, and each update sends only the rows that changed. This section compares that patch with two controls: the held page under v0.3, which refetches the whole artifact on each change, and a plain HTTP resource that a browser cache revalidates with its ETag. The ship gate is v0.3.

    The readings come from measurements/dataset-baseline/2026-11-15.json: synthetic rows, one machine, one run each. No real site has been measured. Every byte figure below is L1.

    Bytes are brotli for the v0.3 and v0.4 bodies. The native column is socket bytes, so it includes the HTTP headers: about 270 bytes on each 200 and 220 on each 304. The v0.3 list refetch is the control the gate uses. The records column is the records shape with have, a cheaper v0.3 variant at 50 rows; at 500 and 5,000 rows the server names at most 256 ids, so it still refetches most of the collection.

    rows change rows changed v0.3 list refetch v0.3 records with have v0.4 patch native 200 after the change
    50 one row 1 2,236 372 227 2,379
    50 1% of rows 2 2,249 437 291 2,392
    500 one row 1 19,981 11,366 228 20,239
    500 1% of rows 5 19,970 11,400 423 20,232
    5,000 one row 1 191,744 201,636 232 193,240
    5,000 1% of rows 50 191,719 203,442 2,305 193,186

    The first load costs more under v0.4 than under v0.3 at 50 and 500 rows, and less than native at 50 rows. The v0.4 seed is the sum of the dataset's pages, so the rig counts every page of the 5,000-row seed.

    rows v0.3 seed native first load v0.4 seed v0.4 minus v0.3 v0.4 minus native
    50 2,224 2,364 2,313 89 -51
    500 19,965 20,230 20,832 867 602
    5,000 193,107 193,226 206,988 13,881 13,762

    A seed is repaid when the bytes an update saves exceed the seed's extra bytes. At one changed row the seed is repaid after 0.044 to 0.072 updates per device, across the three sizes. The number is per device over one hold, and a device needs at least that many updates within it to repay the seed.

    rows change seed extra over v0.3 bytes saved per update updates that repay the seed
    50 one row 89 2,009 0.044
    50 1% of rows 89 1,958 0.045
    500 one row 867 19,753 0.044
    500 1% of rows 867 19,547 0.044
    5,000 one row 13,881 191,512 0.072
    5,000 1% of rows 13,881 189,414 0.073

    A device holds one copy for 7 days (L3), then refetches the seed. A held copy answers the device's views, scaled by a return survival of 0.50 (L3). A patch or refetch is fetched at most once per answered view. The table prices one update that changes one row in a 500-row collection (L1 bytes), for three illustrative sites. The views are 2,000 a day across 400 devices, and each row carries the site's own update rate (L3). The joules use the allocation constant, 0.194 kWh/GB (L2). They are not a meter reading.

    site (L3 inputs) copies answer views a day updates a day v0.3 bytes a day native bytes a day v0.4 bytes a day v0.4 J a day, allocation seed repaid in one hold
    catalogue, changes twice a day 2.50 2.00 42,814 28,110 3,432 2.40 yes
    roster, changes weekly 2.50 0.14 5,707 3,330 3,009 2.10 yes
    feed, changes hourly 2.50 24.00 52,805 50,594 3,546 2.48 yes

    The v0.4 patch sends fewer bytes than the v0.3 refetch in every row. The native column depends on how often the resource changes between views: a weekly roster sends almost only 304s, so the seed is the larger part of v0.4's cost there.

    The server's admission rule, datasetBenefit in src/protocol/provision.ts, counts views per copy from the prior: reuse times survival times future views. The site table counts views from traffic. The two agree on the arithmetic and differ on where the views come from. The server measures gzip for its seed size, and this reading uses brotli, so the decision inputs are not the reading's exact bytes. This section does not claim that the rule and the table reach the same decision at any site.

    Spool reports four channels side by side and never adds them. Metered figures are energy a meter read. Attributional figures spread a published intensity over bytes. Capacity counts nodes an institution stopped running. Avoided demand lists what stayed off the origin and the network, in its own units: bytes, requests and CPU time. A request removed at the device and so at the origin is one avoided transaction, counted once. A sum would mix a measurement with an allocation and count one removed request in more than one place, so the report type has no total and a test checks that.

    The table shows the channels for one local view. Capacity has no per-view row, because it counts retired nodes over a period. The CPU and data-centre fields of avoided demand are empty until a reading prices them.

    channel measure per local view unit label
    metered energy 0.80 J L1
    attributional energy 12.37 J L2
    avoided demand transferred bytes 17,054 B L1
    avoided demand requests 1 requests L1

    This channel is the ceiling. It counts infrastructure an institution can stop running because spool lowers peak work, and an institution reaches it when it acts on the numbers and removes servers. It assigns no energy to an individual request. It is conditional and discontinuous: a fleet sized by peak throughput shrinks only when peak work falls far enough to retire a whole node, and the channel counts only when equipment is actually removed.

    Spool reports it as three separate results, and any of them can read zero. A fourth entry, observed, records what production telemetry saw change in the same workload over one period, which is neither what the model says could change nor what was removed.

    1. Potential. The capacity reduction computed from real peak traces and the latency SLO.
    2. Financial. A smaller hosting plan or fewer billed instances, from invoices.
    3. Physical. Electricity, counted only when equipment is removed or the provider's energy is measured. A retired server-year is 3.80 MWh (282 W at a PUE of 1.54, L2).

    "No physical capacity saving demonstrated" is a valid report beside a large drop in requests.

    The table is a sensitivity model, not an institutional one. It keeps the number of servers below, out of N throughput-sized ones, where Z is the local share of views and 0.9 is the share of load that is reads (L3):

    \max\left(2, \left\lceil N \times (1 - Z \times 0.9) \right\rceil\right)
    
    tier peak work cut 10 servers sized by throughput 20 servers sized by throughput 50 servers sized by throughput 100 servers sized by throughput
    Meaningful 27% 2 retired, 7.61 MWh 5 retired, 19.0 MWh 13 retired, 49.5 MWh 27 retired, 103 MWh
    Major 59% 5 retired, 19.0 MWh 11 retired, 41.8 MWh 29 retired, 110 MWh 58 retired, 221 MWh
    Transformative 81% 8 retired, 30.4 MWh 16 retired, 60.9 MWh 40 retired, 152 MWh 81 retired, 308 MWh

    The retrofit reading on a local clone of the drupflare Worker, run without a deployment, replays 121 views (L1 counts): one bootstrap, 100 in-page views and 20 document navigations. The table gives the requests that reached the origin and the Worker invocations in each engine, with the ratios they imply (L2 over those counts).

    engine requests to the origin, Q Worker calls h_W multiplier, views over Worker calls
    Chromium 4 4 96.69% 30.25
    Firefox 4 4 96.69% 30.25
    WebKit 23 6 95.04% 20.17

    h_W is one minus the Worker calls over the 121 views. These ratios measure Worker demand on one site. They are not a capacity saving, since no server was removed, and the capacity channel counts none of them.

    Peak traces and SLOs replace this rule in a real report. Spool generates one per institution from its telemetry and the institution's own traces (src/report/).

    A node that stays in service can still draw less. Removing a request from a sparse stream can save more than the request's own work, because the package stays out of its deeper idle states.

    requests per second steady W above idle steady mJ per request bursty W above idle bursty mJ per request
    5 0.21 (-0.11 to 1.09) 41.8 (-20.8 to 215.9) 0.24 (-0.85 to 1.42) 48.3 (-170.2 to 283.7)
    20 1.53 (0.81 to 2.17) 76.5 (40.3 to 108.6) 0.03 (-0.18 to 0.78) 1.3 (-8.9 to 39.1)
    50 2.78 (1.57 to 3.39) 55.5 (31.4 to 67.7) 0.61 (-0.04 to 1.25) 12.1 (-0.8 to 25.1)
    100 5.11 (4.71 to 5.65) 51.1 (47.1 to 56.5) 1.41 (0.90 to 2.32) 14.1 (9.0 to 23.2)
    200 10.36 (9.44 to 11.43) 51.8 (47.2 to 57.1) 3.07 (2.41 to 3.41) 15.4 (12.1 to 17.1)
    500 19.80 (19.72 to 20.25) 39.6 (39.4 to 40.5) 7.48 (6.60 to 8.11) 15.0 (13.2 to 16.2)
    1,000 25.07 (24.63 to 25.68) 25.1 (24.6 to 25.7) 14.71 (14.43 to 15.62) 14.7 (14.4 to 15.6)

    Across the sweep a steady stream below 200 requests per second fits 0.21 W plus 50.6 mJ per request (R2 0.971), while a bursty stream fits -0.01 W plus 14.9 mJ per request (R2 0.987), which is the closed-loop work cost. A generator that only fires its timer costs 13.8 mJ per tick at 50 per second, so an isolated request carries about one wake. That brackets the saving of one sparse isolated request at 29 to 56 mJ against 15.1 mJ of work. Batched arrivals save the work and nothing more, and above about 500 requests per second the marginal cost falls below the work cost.

    The effect is bounded by the node's whole above-idle energy. At three origin requests per network view it comes to 0.046 kWh per million views (L2 over an L3 request count). It is the retained-node part of this channel. A node is either retired, and counted once at its full retired energy, or retained, and counted once here, never both. The scheduler batches beacons and syncs for this reason as well as for the radio.

    Embodied energy is a separate line in kgCO2e, L3 until a retirement ledger exists. It covers a server or instance-year not bought because a measured drop in peak work let a refresh slip. It stays outside the MWh figures so one retired server is never counted twice.

    drupflare removes fixed idle capacity: a site that ran on a provisioned server runs on Workers, and the capacity it kept idle goes away. Spool removes throughput work: requests and renders that never reach the origin. A provider sized by throughput downsizes when demand falls, so spool lowers demand and drupflare lowers the floor. The two counts do not overlap, and a capacity saving already realised by migration is not spool's. On drupflare the immediate benefit is Worker requests and execution avoided. Cloud-hosted origins show a smaller bill, and the provider's electricity is not established.

    Spool does not claim:

    • that 12.4 J is a meter reading. It is an attributional allocation, and the meters read 0.80 J on a desktop and 0.088 J on a phone;
    • a marginal kWh per GB;
    • that one avoided request is one avoided radio wake;
    • a capacity saving without evidence that equipment was removed, since a cloud-hosted origin shows a bill and the provider's electricity is not established;
    • savings from a projection without its relocated device work and its provisioning bytes;
    • that trimming adds to the headline. It saves bytes on a network view of an unseen page and nothing on a local or repeat view;
    • that one institution's traffic moves a network operator's power state;
    • a paced or cellular phone figure, which neither run has resolved;
    • a dollar saving beyond the list-price arithmetic in Bandwidth and Request Costs, which leaves out free allowances, contract prices, staff time and plan tiers that do not scale with traffic.

    Each reading is one JSON file written by one script under scripts/measure/. Run a script with --dry-run first: it prints the resolved plan and the file it would write, and touches nothing.

    bun run measure:repeat-nav
    bun run measure:on-wire
    bun run measure:zero-network
    bun run measure:device-cpu
    UDID=<device id> bun scripts/measure/iphone.ts --experiment burst --net <origin> --sw <origin>
    bun run impact

    The RAPL runs happen on a Linux host with the package counter readable, inside the Playwright container, with the counter and the cgroup tree mounted read-only. scripts/measure/rapl.ts run <experiment> writes raw lines and publish turns them into the reading, strips container ids and integrates a GPU trace sampled on the host.

    node scripts/measure/rapl.ts run compute-server --raw out/compute-server.jsonl
    node scripts/measure/rapl.ts publish compute-server --raw out/compute-server.jsonl

    The four metered readings of the savings section use the same runner. image-decode and image-encode read an image set that image-crawl.ts builds from a crawl run with --save. dictionary-load reads two aggregate files of one site that you supply, and idle-activity needs no input. Run the four one at a time on a quiet host.

    bun scripts/measure/image-crawl.ts --save out/crawl-files
    bun scripts/measure/image-crawl.ts set --from out/crawl-files --reading measurements/image-crawl/<date>.json --to out/set --count 40 --max-mb 25 --tinyimg <dir>
    node scripts/measure/rapl.ts run idle-activity --raw out/idle-activity.jsonl --rounds 4 --window-s 300 --idle-s 60
    node scripts/measure/rapl.ts run image-decode --raw out/image-decode.jsonl --images out/set --rounds 6 --passes 6 --idle-s 30
    node scripts/measure/rapl.ts run image-encode --raw out/image-encode.jsonl --images out/set --tinyimg <dir> --rounds 6 --passes 3 --idle-s 30
    node scripts/measure/rapl.ts run dictionary-load --raw out/dictionary-load.jsonl --dict-file <base> --target-file <target> --rounds 6 --navs 60 --idle-s 30

    Each run is followed by a publish of the same name, as above. <dir> holds node_modules/@gmitch215/tinyimg at 1.1.1.

    The vendor prices are inputs in src/report/inputs.ts with the date each page was read. Re-read the pages and edit those values to refresh the dollar tables.

    bun run impact:check runs in CI and fails on any difference between the committed page and the readings.