create_cache

Function create_cache 

Source
pub async fn create_cache(config: &CacheConfig) -> Arc<dyn CacheBackend>
Expand description

Creates a cache backend using the historical memory-fallback behavior.

Runtime assembly code should prefer create_cache_with_policy so the availability contract is explicit. This compatibility entry point keeps existing callers source-compatible.