Accessing the document XDOM is a bit complex without programming right and it cannot benefit from caching.