improved cache searching performance