Files
zeekay 3e9a05af5e staticFiles puts a site's event tag in its pages' head
A typed `tag` (the site's publishable key) renders the hosted event tag
in Go and places it with the HTML tokenizer before the real </head>, or
before whatever opens the body. The placement is kept per object version
on the cache entry and the page is spliced from the file, so revalidation,
HEAD and ranges cost what an untagged page does. The ETag carries the
tag's sum; UTF-16 pages, foreign content inside a template and pages over
2 MiB are served as they are; a bad key is logged and the site serves
untagged.
2026-10-25 19:05:56 -07:00
..