Just a bit curious. While it seems like the implementation of this has some major drawbacks, I’m wondering why other languages’ drivers for MongoDB don’t have some type of functionality like https://www.mongodb.com/docs/ruby-driver/upcoming/reference/query-cache/
Context: Had to kind of create this myself using extra proxy classes with Spring Cache for Java. Also as a Java & SQL dev, I’m missing the query caching functionality of Hibernate on top of SQL databases, so was looking for similar functionality with MongoDB.