Hwaro::Utils::SriCache
Per-build memo of DigestUtils.sri_file, keyed on the file's absolute
path, mtime and size: every page printing asset_integrity() or an
[assets] sri tag would otherwise re-read and re-hash the same file.
It also remembers each value handed out, so a [build] hooks.post that
rewrites one of those files can be caught (stale). Cleared at every
build and serve pass; mutex-guarded for parallel render workers.
Class methods
clear
Sourcerecord: false hashes without counting the value as handed out (the
--cache render-inputs probe, which compares and prints nothing).