Re: Last-Modified HTTP header from mod_dav_svn

Erik Huelsmann <[email protected]> Fri, 25 Nov 2005 14:02:52 +0100
Newsgroups gmane.comp.version-control.subversion.devel,gmane.mail.eyebrowse.user
Message-ID <[email protected]>
On 9/15/05, Sergey Proskurnya <[email protected]> wrote:

> I want to discuss one possible feature for mod_dav_svn.
> The idea is very basic: let mod_dav_svn set the
> "Last-Modified" HTTP header to last modification time
> of requested resource in repository (only files, I'm not sure
> what to do with directories).
> This will allow to use Internet Caching (Squid)
> very effectively, which will result in lower traffic and
> performance improvement for remote users, who are using
> casual HTTP browser to access to SVN repository.
>
> What respected community think about this?

It's a great idea, but won't work. Currently Subversion requests
REPORTs from the server. These are unique for every single session
between a client and a server. Thus, the REPORT response we're using
isn't cacheable.

However, right as we speak, a thread is going on in the dev@ mailing
list (I forwarded this mail there) about the usefulness of being able
to cache HTTP trafic between a client and the repository server.

Maybe you can step in and add something to that thread?

bye,

Erik.