Cursed idea: serve a Git repository as pages and use the Git repository revision as the ETag value for all of the pages. Hey, it's perfectly specification valid AFAIK, and you can just cache or store the current revision on startup (or checkout). Cryptographically hashing your file contents? Inspecting stat() results and doing things with them? Why bother. The Git revision's right there.

I'd say "free to a good home" but this idea is definitely not going to a *good* home. A fun one, maybe.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/cks/statuses/115279201667247136 on your instance and quote it. (Note that quoting is not supported in Mastodon.)