Is it possible to cache the documents if no changes

I’m going to watch the changes and updating the Map .
But in this way, I have to maintain various Map for indexing fields.
Is it possible to cache the collection if there aren’t changes so that the driver will query from memory in the program.