Pass instance of redis and redis key for caching