xml cache, first attempt
put tag into file only if marked 'dirty'