/[Apache-SVN]
ViewVC logotype

Revision 1724790


Jump to revision: Previous Next
Author: ivan
Date: Fri Jan 15 12:57:20 2016 UTC (8 years, 3 months ago)
Changed paths: 1
Log Message:
mod_dav_svn: Do not set Last-Modified response header for GET responses.

This saves a bit of unnecessary work on the server-side, since:
- This header is not used by Subversion clients
- We allow caching GET responses for up-to 1 week without re-validation
- Browsers and proxies support ETag and use it for re-validation instead of
  the Last-Modified header

See the discussion in thread "Last-Modified HTTP header in GET responses" [1]

[1] https://www.mail-archive.com/dev@subversion.apache.org/msg34354.html

* subversion/mod_dav_svn/repos.c
  (get_last_modified): Remove.
  (set_headers): Do set Last-Modifed response header.


Changed paths

Path Details
Directorysubversion/trunk/subversion/mod_dav_svn/repos.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26