Skip to main content

pair_prefix

Function pair_prefix 

Source
pub(crate) fn pair_prefix(id: &str) -> String
Expand description

The key prefix shared by every entry a proxy-cache pair writes.

proxy-cache derives keys as {id}\u{1}{component}\u{1}…, so this prefix selects a pair exactly: products\u{1} matches nothing of products-v2.