Implemented caching using Redis