Implemented Redis caching