Improve cache so it returns old values while computing the new ones.