Two CacheKeys are equal when their endpointId and params are equal; the type parameter takes no part.