modified documents to now include a cache