---
title: Building mcwelling.dev
url: https://mcwelling.dev/building-this-site.html
author: McWelling Todman
date: 2026-11-23
---

# Building mcwelling.dev

This site is one page of HTML. It took more work than that sounds. Here is what I built and why.

## Keep it plain

No framework. No bundler. One HTML file, one stylesheet, a few lines of JavaScript.

The build is a Node script that uses only built-ins. It copies the files and stamps a content hash on the CSS and JavaScript links. Browsers cache them for a year and still get changes.

Plain files are easy to read, cheap to host and hard to break.

## Hosting

The files live in S3. CloudFront serves them. Cloudflare handles DNS and nothing else.

AWS's stock S3 deploy step guessed content types. It served Markdown as a download. So the build runs its own deploy script. It sets each content type and cache header, removes stale files and clears CloudFront's cache.

## Looking at the traffic

A month of CloudFront logs, October 24 to November 23, held 65,098 requests. 94% asked for files that don't exist. Scanners hunted for `.env` files, `.git` folders and WordPress logins. Some wanted AI tool settings: `.claude/settings.json`, `.cursor/mcp.json`.

| What the request asked for | Requests |
|---|---:|
| **Not on this site** | **61,211 (94%)** |
| Probes for secrets and config | 35,529 |
| Other missing pages | 14,177 |
| Probes for WordPress, PHP and admin pages | 11,505 |
| **This site** | **3,887 (6%)** |
| Homepage | 2,383 |
| robots.txt | 696 |
| Page assets (CSS, JS, images) | 594 |
| Agent files (llms.txt, index.md, sitemap) | 214 |

Then I grouped the requests into visitors. Scanners were more than a third of them and sent 95% of the traffic. Only 147 behaved like people. That is about five a day.

| Visitor type | Visitors | Requests |
|---|---:|---:|
| Vulnerability scanners | 1,047 | 61,645 |
| Browser look-alikes | 815 | 1,334 |
| Other bots and scripts | 472 | 816 |
| Search engines and SEO crawlers | 145 | 257 |
| AI crawlers and agents | 133 | 518 |
| Likely people | 147 | 528 |
| **Total** | **2,759** | **65,098** |

A visitor is one IP address and browser signature over the month. Scanners are anything that asked for a file that isn't here, including fakes wearing AI crawler names. Browser look-alikes fetched the page but never its CSS or JavaScript, which real browsers always load. Likely people did load them.

The AI crawlers were real. ClaudeBot and GPTBot read the homepage. They asked for a sitemap I didn't have.

So I added a sitemap, cookie-free Cloudflare Web Analytics and a one-year limit on old logs.

## Pages for agents

Few readers are people. AI crawlers came about as often as people did, and every one of them works for someone: a search engine, a chatbot, maybe a recruiter's agent. The site should read well to them too.

Some sites hide pages that only bots see. Search engines call that cloaking. I didn't do it.

Instead the site has an [llms.txt](https://mcwelling.dev/llms.txt) and a [Markdown copy](https://mcwelling.dev/index.md) of the homepage. The homepage links to both. Anyone can read them. The Markdown copy ends with notes for agents: how to describe me, what not to invent, how to reach me.

## One source for the résumé

The résumé was LaTeX on Overleaf, shared from Google Drive. The site repeated parts of it by hand. They drifted.

Now the résumé is a data file in a private repo. One build turns it into the PDF, the homepage Work section, the Markdown copy and the structured data. A push to either repo redeploys the site. CodeBuild compiles the PDF with Tectonic. The public copy swaps my phone number for a contact address.

I could have parsed the LaTeX and kept Overleaf. A data file is clearer and harder to break. I chose the data file.

## Trade-offs

- A résumé error now blocks a site deploy. Better to fail than to publish something broken.
- The Markdown copy uses the résumé's full wording. It is wordier than what I wrote by hand, but it can't drift.
- An AI coding assistant did most of the typing. I made the calls and checked the work.
