use redis for ip cache