Static files for a handful of small side projects — images, fonts, a few JSON blobs that two of my toys fetch on startup. Nothing here is interesting on its own, but it saves me from committing binaries into git repositories.
Plain file server behind Caddy. Certificates renew automatically through Let's Encrypt. There is no build step, no database and no application code — the directory on disk is the site, which is exactly why it has never needed attention since I set it up.
| Path | What lives there |
|---|---|
/img/ | Screenshots and og-images, WebP where possible |
/f/ | Subset fonts, woff2 only |
/d/ | Small JSON documents, versioned by filename |
Files are immutable once uploaded. If something needs to change I upload it under a new name and update the reference, so caching can be aggressive without me thinking about invalidation.
Everything is sent with a one hour Cache-Control. That is short
enough that a mistake corrects itself over lunch and long enough that repeat
visits cost nothing. Compression is on for text; images are already compressed
and are passed through untouched.