moves caching to redis