# Deterministic Caching & Resilience Strategies

To minimize outbound network roundtrips and avoid rate-limiting on governmental gateways, Slasher employs deterministic key normalization:

<Mermaid
  chart={`flowchart LR
    Req["Query: type=law & q=RGPD & limit=10"] --> Norm["Canonical Normalization (Lowercase, Sorted Params)"]
    Norm --> Hash["SHA-256 Digest: e3b0c44298fc1c149..."]
    Hash --> Redis["Redis Key: slasher:cache:law:e3b0c442... (24h TTL)"]`}
/>
