Add Redis cache support for all graph operations.