On Wed, Sep 26, 2012 at 2:11 PM, Philip Martin <philip.mar...@wandisco.com> wrote: > Lieven Govaerts <svn...@mobsol.be> writes: > >> If the intention is to instruct the proxy that a cached response is >> only valid for a certain X-SVN-VR-Base header, then that is what the >> "Vary" header is for. >> So with: >> Vary: X-SVN-VR-Base >> in the response, the proxy should only return a cached response if the >> request for that cached response had the same value for X-SVN-VR-Base >> as the new request. > > Sounds like we really ought to do that. I've raised > http://subversion.tigris.org/issues/show_bug.cgi?id=4235
Yup. That's the right answer, and it appears that mod_dav_svn does *not* do that. I've scanned through httpd, mod_dav, and mod_dav_svn ... there aren't any good helpers for managing the Vary: header :-( But yes: that header is what proxies (should) use for determining whether a response is based varies on header values, in addition to the URI itself. Cheers, -g