cache_key_from_parts

Function cache_key_from_parts 

Source
pub(crate) fn cache_key_from_parts(
    hash: &str,
    opening_filter: OpeningFilterMode,
    quality: TessellationQuality,
) -> String
Expand description

The seed every derived key is built on: file hash + opening-filter suffix + quality suffix. Endpoints that receive a bare hash (the cache-check and cached-geometry routes) rebuild it from the query rather than from bytes they do not have.