Replace XML parsing with cache getter calls