← McWelling Todman

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.

65,098 requests, by what they asked for

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.

2,759 visitors, by type automated people
Vulnerability scanners 1,047 · 61,645 requests
Browser look-alikes 815 · 1,334 requests
Other bots and scripts 472 · 816 requests
Search engines and SEO crawlers 145 · 257 requests
AI crawlers and agents 133 · 518 requests
Likely people 147 · 528 requests

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 and a Markdown copy 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