fix #301 (Caching bug with document browser)