Version stylesheet URLs by content hash !7

merged merged by cmc on 2026-10-21 06:15 UTC · cmc/cleberg.net:cache-bust-css into main

Discussion

cmc

styles.css and syntax.css are served with max-age=31536000, so CSS changes need a Cloudflare purge and still sit stale in browsers. build.py now rewrites every page's stylesheet links to ?v=<sha256[:10]> of the built file after orgo runs, including pages carried over from the build cache. Fails the build if no links match.