pub fn get_cache_key(ctx: &Ctx, method: &str, uri: &Uri) -> CacheKeyExpand description
Generates a cache key from the request method, URI and state context. The key includes an optional namespace and prefix if configured in the state.
ยงArguments
ctx- The Ctx context containing cache configurationmethod- The HTTP method as a stringuri- The request URI
Returns: A CacheKey combining the namespace, prefix (if any), method and URI