Re: Caching results of _list functions

2016-05-18 Thread Johs Ensby
Hi Ermouth, this sounds like a bonus feature of significant value:) Together with the rewrite function this discovery would keep the couchapp enthusiasts of the community happy for a looong time, I believe. If I understand you right, - a function in a _list of a certain ddoc called directly via

Caching results of _list functions

2016-05-18 Thread ermouth
Since JS rewrites landed in 2.0, and I use JS rewrites heavily, I discover some tricks with the new feature time to time. Despite I use patched 1.6.1 with js rewrites, tricks are suitable for at least single node 2.0 as well. JS rewrites function runs in the context of a query server instance. QS