Hwaro::Core::Build::CacheMetadata
Inherits JSON::Serializable / Struct / Value / Object
Persistent build metadata stored alongside per-file entries
Constructors
Instance methods
hwaro version that wrote this cache. Every hash above fingerprints
the inputs (sources, templates, config, cascade) — none of them
move when only the renderer changes, so a build that fixes how
markdown becomes HTML would otherwise never reach a --cache site:
its pages are unedited, so they stay skipped indefinitely. Treating
a version change as a full invalidation costs one cold build per
upgrade and makes every future rendering fix actually land.
Written by Cache#save (which always stamps the running version, so the in-memory rebuilds in set_global_checksums/set_set_fingerprints cannot drop it) and compared by Cache#load. Default "" so caches written before this field existed invalidate once on upgrade.
hwaro version that wrote this cache. Every hash above fingerprints
the inputs (sources, templates, config, cascade) — none of them
move when only the renderer changes, so a build that fixes how
markdown becomes HTML would otherwise never reach a --cache site:
its pages are unedited, so they stay skipped indefinitely. Treating
a version change as a full invalidation costs one cold build per
upgrade and makes every future rendering fix actually land.
Written by Cache#save (which always stamps the running version, so the in-memory rebuilds in set_global_checksums/set_set_fingerprints cannot drop it) and compared by Cache#load. Default "" so caches written before this field existed invalidate once on upgrade.
Fingerprints of the global page/section sets. Listing pages (homepage, section indexes, archives, taxonomy widgets) render content derived from these sets even when their own source is unchanged, so a change here forces those pages to re-render on an incremental build. Default "" so older cache files (without these keys) load and rebuild once.
Fingerprints of the global page/section sets. Listing pages (homepage, section indexes, archives, taxonomy widgets) render content derived from these sets even when their own source is unchanged, so a change here forces those pages to re-render on an incremental build. Default "" so older cache files (without these keys) load and rebuild once.