flush redis code example Example: servicestack flush cache HostContext.TryResolve<ICacheClient>().FlushAll();