cache XPath