aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorSergey Vlasov <vsu@altlinux.ru>2005-09-13 19:38:58 +0400
committerJunio C Hamano <junkio@cox.net>2005-09-15 12:46:30 -0700
commit1db69b571c9eaab73a7b21303bfedda5fb5f31ce (patch)
treed35cce3d6bceba0064b430d2f1eab781520f0086 /Documentation
parentba65af9c1f67461c0dfa6582c911d6a893d80284 (diff)
downloadgit-1db69b571c9eaab73a7b21303bfedda5fb5f31ce.tar.gz
git-1db69b571c9eaab73a7b21303bfedda5fb5f31ce.tar.xz
[PATCH] git-http-fetch: Allow caching of retrieved objects by proxy servers
By default the curl library adds "Pragma: no-cache" header to all requests, which disables caching by proxy servers. However, most files in a GIT repository are immutable, and caching them is safe and could be useful. This patch removes the "Pragma: no-cache" header from requests for all files except the pack list (objects/info/packs) and references (refs/*), which are really mutable and should not be cached. Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> Signed-off-by: Junio C Hamano <junkio@cox.net> (cherry picked from 3b2a4c46fd5093ec79fb60e1b14b8d4a58c74612 commit)
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions