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 -- Mag. Ing. Omar Siam Austrian Center for Digital Humanities and Cultural Heritage Österreichische Akademie der Wissenschaften | Austrian Academy of Sciences Stellvertretende Behindertenvertrauensperson | Deputy representative for disabled persons Wohllebengasse 12-14, 1040 Wien, Österreich | Vienna, Austria T: +43 1 51581-7295 omar.siam@oeaw.ac.at | www.oeaw.ac.at/acdh