Skip to main content

raw_decode_cache_key

Function raw_decode_cache_key 

Source
fn raw_decode_cache_key(path: &Path) -> Option<String>
Expand description

Build a stable cache filename for a RAW file based on its canonical path, last-modified timestamp (seconds), and byte length. Any change to the file on disk produces a different key so stale pixels are never served.