A very interesting feature for me.
I have to admit after I posted my last explanation I found out I already heavily cached data for some search requests in my TEI/XML snippet API. But I hit a low of almost constant 2s for retrieving data using that cache.
I probably will do a writeup of that part and try the new caching module. Maybe that is faster.
Is there a cache for XQuery code? I work with small snippets and can most of the time choose if something is a literal or passed as an input variable.
Best regards