switch cache to redis