pub async fn cache_handler( __arg0: State<Arc<CacheState>>, req: Request, next: Next, ) -> Response
Tower middleware factory: wrap the API router with axum::middleware::from_fn_with_state(state, cache_handler).
axum::middleware::from_fn_with_state(state, cache_handler)