Colophon: How This Site Works

The build behind patrickstox.com as an edge-SEO case study — Astro static-first on Cloudflare, separate site and product Workers, the D1/KV/R2 data layer, explicit interfaces for agents, editorial provenance, the expert layer, and the performance budget.

First published: Jul 4, 2026 · Last updated: Aug 29, 2026 · Advanced
demand #1 in Edge SEO#28 in Technical SEO#36 on the site
1 evidence signal on this page

This is a making-of and credits record, not the About, Privacy, or Terms page. This site is an Astro static build served from Cloudflare's edge. A site Worker owns community and editorial APIs; a separately deployed product Worker owns tool execution and product data, reached through a service binding. Static requests bypass both Workers. Site and product data have separate D1, KV, and private backup infrastructure, while R2 also stores expert media; binding names, schemas, and backup schedules stay undisclosed by policy. Articles publish explicit Markdown twins and the site exposes agent indexes plus a read-only MCP server; same-URL Markdown content negotiation is deliberately still off. AI-generated or AI-revised copy stays labeled until human review and is excluded from aggregate content counts while labeled. The public expert panel can attach notes and answers to stable article passages, while the free-tool platform mixes browser-local analysis with bounded live checks.

TL;DR — Operate the site by preserving its explicit boundaries: static HTML remains the default delivery path, dynamic work stays in the correct Worker and data plane, unavailable dependencies produce honest states, and every release keeps crawler, agent, provenance, and performance contracts aligned.

Release the static and dynamic surfaces independently

The static artifact is the public baseline. Verify that editorial routes render complete HTML and that ordinary assets do not enter Worker compute accidentally. Changes to editorial/community APIs belong to the site Worker; tool execution and product persistence belong to the product Worker. Keep the service binding as the interface instead of merging those responsibilities into one deployment.

Preserve data and disclosure boundaries

Check that site and product records continue to use their separate D1, KV, and backup paths, and that expert media stays in its intended R2 surface. Public documentation should explain each service’s purpose without exposing credentials, private binding names, bucket identifiers, schemas, internal endpoints, or backup schedules.

Test truthfulness as a release property

For every changed feature, identify the source of visitor-facing data. Live metrics must come from the named production source; examples and fixtures must remain labeled. When a binding, credential, or execution budget is unavailable, verify the explicit unavailable state instead of accepting generated or stale-looking output. Also test the real HTTP lifecycle: valid pages return their intended status, missing pages return 404, intentional removals can return 410, and /coffee alone keeps its deliberate 418 demonstration.

Keep retrieval and provenance outputs synchronized

An article change is incomplete if only its HTML changes. Confirm its Markdown twin, the agent indexes, the content graph, structured data, and read-only MCP retrieval surface all describe the same public corpus. Preserve AI labels and revision metadata until human review, and keep labeled work out of aggregate counts wherever the shared provenance helper requires it.

Operator checklist

  • Confirm static routes bypass Worker compute and dynamic routes reach the intended Worker.
  • Exercise same-origin /api/ calls across the service-binding boundary.
  • Verify explicit unavailable states for bounded live features.
  • Check HTML, Markdown, agent indexes, content graph, and structured data together.
  • Inspect session Core Web Vitals and ensure font, embed, API, and prerender behavior still follows the documented performance budget.
  • Recheck About, Privacy, and Terms whenever a change crosses the colophon’s stated scope.

Add an expert note

Pin an expert quote

New person? Create their unclaimed profile at /admin/experts/ → Pin an expert quote first.