Colophon

Nothing up my sleeve

What this page loaded, the policy that limits what it can load, the build it came from, and how to check each of those without trusting me.

What this page loaded

This list comes from your browser, not from me. The page asks the browser's Resource Timing API for every fetch it has recorded since the page opened, and keeps listening while you stay. The footer shows two of these numbers: the third-party count and the bytes transferred. If you clicked through from another page on this site, the list includes what that page loaded too, because it is still the same document.

build
76426fd
built
requests
—
third-party
—
transferred
—
Every request this page has made, as your browser recorded it Measuring. This list needs JavaScript and the Resource Timing API.
#ResourceTypeTransferred

The policy that limits it

The numbers above describe what happened. The Content-Security-Policy is what stops anything else from happening: your browser refuses any script, stylesheet, font, image, or connection that the policy does not allow, before the request is sent. Every fetch directive allows this origin only. There is no exception for analytics, fonts, or a CDN, because the site uses none.

The policy below is read from the <meta http-equiv="content-security-policy"> tag in this document, the copy your browser is enforcing, rather than from a copy I typed into the page.

Reading the policy needs JavaScript. Without it, view the page source and look for the content-security-policy meta tag near the top.

The 'sha256-…' values in script-src are hashes of the one inline script SvelteKit needs to start the page; the browser runs it only if its hash matches, and they differ from page to page.

Styles are almost as strict, with one exception I would rather state than hide. style-src has no 'unsafe-inline', and nothing I wrote puts a style attribute in the HTML. But SvelteKit, the framework, adds a hidden element that announces page changes to screen readers, and it hides that element with a fixed inline style attribute I cannot change. Rather than allow inline styles in general, the style-src-attr line allows that one string by its hash, using 'unsafe-hashes'. Any other inline style is still refused. Where a script moves something on screen, it sets the style through the DOM, which the policy permits.

Some protections cannot be expressed in a meta tag at all. Who may frame the page (frame-ancestors), HSTS, X-Content-Type-Options, the referrer policy, and the permissions policy only work as response headers. Rather than tell you whether this server sends them, the button below asks it, with one more same-origin request that will show up in the list above, and the result says what it found.

The build it came from

Commit
76426fd
Built

The commit is the short Git hash of the source this page was built from, written in at build time. A -dirty suffix would mean the build included changes that were not committed, so the hash alone would not describe it. The site is SvelteKit, prerendered to static HTML, with fonts bundled from Fontsource and no client-side analytics of any kind.

Check it yourself

None of the above should be taken on trust, since this page is the thing being audited. Your browser's developer tools give you an independent view:

  1. Open the developer tools (F12, or Cmd+Option+I on a Mac) and choose the Network panel.
  2. Tick Disable cache and reload. Every request appears, including any this page's own list could miss.
  3. Add the Domain column (right-click a column header in Chrome or Edge), or sort by the URL. Every row should be this site's own host.
  4. Compare the count with the ledger. The Network panel will usually show one or two more rows: the favicon, which browsers fetch outside the page, and the headers check if you ran it.
  5. Open the Console. Anything the policy blocked is reported there as a Content-Security-Policy violation. There should be none.
  6. View the page source (Ctrl+U, or Cmd+Option+U) to read the policy tag as it was delivered, or run curl -sI against this address to see the response headers.

What this cannot tell you

The page is reporting on itself. The script that counts the requests is served by the same site it is counting. A site that wanted to hide something could change the numbers. That is why the steps above use tools the site does not control.

Resource Timing does not see everything. Chromium-based browsers leave the favicon out. Requests from browser extensions, from the browser itself, and from workers do not appear in a page's list. A request the policy blocks is never sent, so it is not listed either; it appears in the console as a violation instead. Sizes read 0 for files served from your cache, which the list marks as cache.

The policy is the guarantee; the ledger is the evidence. There are no third-party requests because the browser enforces the policy, not because the page counts them. A test in the repository also loads every page and fails if any request leaves this origin or the policy reports a violation.

First-party logs still exist. Making no third-party requests is not the same as collecting nothing. The site runs on AWS: CloudFront sits in front, scripts and styles come from S3, and the pages are served by a Lambda function. AWS handles every request, including your IP address, and the function writes to a CloudWatch log group. I have not turned on CloudFront access logs and I run no analytics, but you would not be able to tell from here if I did.

Home /
Projects /projects
Writing /blog
About /about
Colophon /colophon
Copy link to this page
See what this page loaded /colophon