add simple cache for markdown processing