Implemented local caching methods for source XML