set cache to redis