Codechange: complete redesign of XML cache