Philip Martin <philip.mar...@wandisco.com> writes:

> $ svn pg --revprop -r2 svn:date wc
> 2017-01-04T12:52:02.154787Z
>
> I see a Last-Modified varying with the current time:
>
> Last-Modified: Mon, 04 Jan 2016 12:57:06 GMT\r
>
> Last-Modified: Mon, 04 Jan 2016 12:57:53 GMT\r

The patch may change the caching behaviour for svn:date in the future: I
see a change with my Firefox 43 browser.

When the Last-Modified header is present my browser sends a repeat
request with an If-Modified-Since header and since the date is changing
it gets back a 200 with the content repeated.  With the patch applied
the browser no longer gets Last-Modified and no longer sends
If-Modified-Since, and this means its gets back a 304 Not Modified.

The overall effect is that omitting Last-Modified allows the browser to
cache files when svn:date is in the future.

-- 
Philip Martin
WANdisco

Reply via email to