Skip to main content

create_proxy_with_handle

Function create_proxy_with_handle 

Source
pub fn create_proxy_with_handle(
    config: CreateProxyConfig,
    handle: CacheHandle,
) -> Router
Expand description

Create a proxy handler with an existing cache handle. Useful for sharing a single handle across multiple proxy instances so that invalidation propagates to all caches simultaneously.

Note: snapshot operations (PreGenerate mode warm-up) are not available through this variant — use create_proxy for full PreGenerate support.