Added caching to redis