private function clearNodeCache(Node $node)
{
$cacheKey = "nodes: {$node->getPath()}, " . $this->workspaceName;
$cacheKey = $this->sanitizeKey($cacheKey);
$this->caches['nodes']->delete($cacheKey);
// actually in the DBAL all nodes have a uuid ..
if ($node->isNodeType('mix:referenceable')) {
$uuid = $node->getIdentifier();
$cacheKey = "nodes by uuid: {$uuid}, " . $this->workspaceName;
$this->caches['nodes']->delete($cacheKey);
}
}