Made modifications for recursive disabling of node caches