Cache compiled XPaths