remove nodes should remove the cache from doc holder