Artifact 0d5b7856567f1bba587bb7705014707406799e7d79214849483dcb7c67896aa3:
- File internal/web/stylesource_test.go — part of check-in [2cda4208cf] at 2026-09-05 17:54:13 on branch lean-sheet — The served stylesheet ships without its comments, indentation or template fences: 250KB becomes ~150KB raw before gzip (user: dmestas, size: 379) [annotate] [blame] [check-ins using] [more...]
package web // styleSource is where CSS assertions look. The stylesheet used to be // inlined in baseHTML — 112,118 bytes on every response, 40% of a // timeline page, and uncacheable because it had no URL. It is served as // a hashed asset now, so a test asking whether a rule exists has to ask // the sheet, not the page that links it. var styleSource = baseHTML + rawSheet