migrate cache to redis