An in-memory document cache