]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: add If-Modified-Since handling to git_snapshot().
authorW. Trevor King <redacted>
Thu, 29 Mar 2012 12:45:49 +0000 (08:45 -0400)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:32 +0000 (00:51 -0400)
Because snapshots can be large, you can save some bandwidth by
supporting caching via If-Modified-Since.  This patch adds support for
the i-m-s request to git_snapshot() if the request is a commit.
Requests for snapshots of trees, which lack well defined timestamps,
are still handled as they were before.

Signed-off-by: W Trevor King <redacted>
Signed-off-by: Junio C Hamano <redacted>

No differences found
This page took 0.2037 seconds and 4 git commands to generate.