returning cached node info instead of calculating it on every request