Cache invalidation is surprisingly hard, which is why couchdb relies on the well-tested OS disk cache instead.
That said, some interesting, and not too complicated, suggestions have cropped up on IRC from time to time, perhaps something will change. B. On 31 March 2011 08:47, bryan rasmussen <rasmussen.br...@gmail.com> wrote: >> >> This could be an interesting "feature" in CouchDB. Since it "knows" >> about the changes and revisions, it could cache the the latest >> revisions of a certain number of documents (memory threshold of sorts) >> in memory and return it without disk seeks. > > I had actually expected something like this was already being done - > as you say 'Since it "knows"'... > > Best Regards, > Bryan Rasmussen >