jackalope/jackalope — pull request #113 by chregu (2012-04-18 05:28:32+00:00)
Title: Enable prefetching childnodes

Jackrabbit has the possibility to fetch childnodes of a node in one
call. This could be used to improve performance, if you have a lot of
child nodes and want to fetch all (or most) of them anyway. You save at
least the roundtrip latency for all those requests (if you don't use
Session->getNodes, which is more complicated to code)

This is a patch, which enables that feature.

I'm open to change things, notably not sure if

$session->getTransport()->setFetchDepth($depth)

is the right thing to do here (but it somehow fits to the transport class)

See also: