Hwaro::Content::Processors::RenderHooks::Registry
Inherits Reference / Object
Immutable snapshot of the hook templates configured for this
build. Constructed once per load_templates call (Initialize
phase, and again on every serve template reload) and read-only
for the rest of the build — parallel render workers only ever
read the per-hook entries (HOOK_NAMES) and fingerprint.
Constructors
Instance methods
MD5 over sorted "name=source" pairs — folded into the per-page
template hash (render.cr#page_template_hash) so editing a hook
template invalidates every cached page's --cache entry.
Emits message via Logger.warn at most once per key for the
lifetime of this registry (one build, or one serve reload —
configure builds a fresh Registry each time templates
reload, so a persistent misconfiguration warns again next
rebuild rather than going silent forever).