Colophon
This site is static HTML built by Hugo , served by nginx on one small VPS, with Cloudflare in front as the cache. There is no framework, no tracker and no cookie. The only third-party request is the GitHub Discussions widget at the bottom of posts, and it doesn’t load until you scroll to it.
Serving path
reader ── Cloudflare edge (cache, TLS, HTTP/3) ── nginx origin (TLS, mTLS from edge only)
- Origin: one DigitalOcean droplet in Singapore (SGP1) running nginx. Port 443 accepts only Cloudflare’s IP ranges and requires Cloudflare’s client certificate (authenticated origin pulls).
- Deploys: a push to
mainbuilds the site in GitHub Actions, rsyncs it into a new release directory, swaps a symlink atomically, and purges the edge cache. - Fonts: Archivo for text and Fragment Mono for code and measurements. Both are self-hosted and licensed under the SIL Open Font License.
Cache policy
| Path | Browser | Edge | Why |
|---|---|---|---|
| HTML pages | 60 s | 7 days | Deploys purge the edge, so a long edge TTL is safe |
| Fingerprinted CSS/JS | 1 year, immutable | 1 year | The file name changes when the content does |
Fonts (-v1.woff2) | 1 year, immutable | 1 year | Versioned by file name |
| RSS feeds | 15 min | 1 hour | Readers poll; keep it cheap |
/cv.pdf | 5 min | 7 days | A new CV should show up within minutes |
/__probe | never | never | It’s a measurement |
The probe
The panel at the bottom of each page measures the request that delivered it. The numbers at the bottom of every page explains each field and its caveats. In short:
| Field | Source | Unit |
|---|---|---|
| Served from | colo= in /cdn-cgi/trace | edge code |
| Your round trip to the edge | cfL4 in Server-Timing (TCP or QUIC RTT) if present, otherwise the fastest of 5 HTTP requests to the edge | ms |
| Edge to origin | nginx $tcpinfo_rtt from /__probe | ms |
| Time to first byte | Navigation Timing, responseStart − requestStart | ms |
| Protocol | nextHopProtocol, plus tls= from the trace | — |
| Edge cache | cf-cache-status and age from a HEAD request for this URL | — |
Previews
Footnote numbers, links to other pages here, and cited links with a dotted underline open a small box when you hover or tab onto them. That is Preview 1.0, the second instrument on the site, and it works like this:
| Link | What the box shows | Where it comes from |
|---|---|---|
| Footnote number | The footnote | Already on the page; nothing is fetched |
| Page on this site | Title, date or status, one-line description. With a #section anchor, that section | The summary is written into the link at build time. A section is fetched from this origin and cut out of the page |
| Dotted external link | Title, author, source, date, and my note if I wrote one | data/annotations.yaml in the repo, rendered as the Links in this page list at the end of the page |
#anchor on the same page | That section | Already on the page |
On touch screens and windows narrower than 720 px there is no hover, so footnotes and cited links expand inline under their paragraph instead, with a Close button, and page links just navigate. Nothing leaves this origin: no external page is fetched, and nothing is prefetched until you hover. Without JavaScript, footnote numbers jump to the footnote and the links list at the end of the page holds every note. The idea and the name come from gwern.net’s link popups ; this is the small version of it.