Added local cache storage for discovered documents that will survive a restart.