On Jul 24, 2012 9:32 PM, "C. Michael Pilato" <cmpilato_at_collab.net> wrote:
>...
> For ra_serf: I was right again. It's just a string operation when the
> repos root URL is known. But I overestimated how common it was for this
> value to be known. All HTTPv2 servers transmit the repos root URL when
the
> session is initialized via the OPTIONS command. For older servers, the
> repos root URL is calculated and cached opportunistically as part of other
> operations, but isn't strictly guaranteed to have been determined before
any
> particular reparent operation occurs. And when discovered in this
fashion,
> it's done using the very sort of PROPFIND dance that HTTPv2 was introduced
> to eliminate. So yeah, potentially pretty costly.
But that dance *must* occur at least once for old servers. Whether it
happens at reparent, or some other operation... as long as the result is
saved, then there is zero *additional* cost to a reparent in ra_serf.
Cheers,
-g
Received on 2012-07-25 05:16:44 CEST