Cache rendered syntax highlighting by blob hash
/r/sqlite/file/trunk/src/btree.c: TTFB 490ms, footer reports 461.6ms with no ops breakdown, so the time is in-process. src/select.c 474ms, src/sqlite.h.in 208ms. A 310KB timeline page renders in 12ms, so this is not general template cost — it is per-request work proportional to file size.
A blob is immutable by hash, so its highlighted HTML is too. Cache keyed on (blob hash, lexer) and the 460ms becomes a map lookup on every repeat view. This is the single largest lever for the large-file pages.
Acceptance: second request for the same blob is served from cache and reports an order-of-magnitude lower render time; cache is bounded (size or LRU) so a corpus sweep cannot exhaust memory; wipe+reingest changes nothing observable.
Landed in f4e226e5 (content-hash cache, byte-budgeted) and 05dbba30 (singleflight). Ten concurrent cold readers of sqlite where.c went from ~0.95s each to ~0.42s — one tokenisation shared, not ten. Test asserts 24 readers collapse to <=4 calls, under -race.