git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-http-fetch: Allow caching of retrieved objects by proxy servers

From
Sergey Vlasov <vsu@altlinux.ru>
Date
Sep 14, 2005, 13:12 UTC
Message-ID
<20050914131236.GH24405@master.mivlgu.local>
In-Reply-To
<7vfys93qn5.fsf@assigned-by-dhcp.cox.net>
On Tue, Sep 13, 2005 at 08:59:26AM -0700, Junio C Hamano wrote:
Show 11 quoted lines
> Sergey Vlasov <vsu@altlinux.ru> writes:
> 
> > 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.
> 
> Thanks.  What the patch does looks reasonable.
> 
> Do you know if we can use it for any reasonably recent version
> of curl?  I seem to recall we already do things slightly
> differently depending on LIBCURL_VERSION_NUM.

http://cool.haxx.se/cvs.cgi/curl/include/curl/curl.h?rev=1.1&content-type=text/vnd.viewcvs-markup shows that CURLOPT_HTTPHEADER, curl_slist_append() and curl_slist_free_all() were available in Dec 1999, curl 6.3.1. The FAQ entry about disabling "Pragma: no-cache" is from Aug 2, 2000.

Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 9 in “git-http-fetch: Allow caching of retrieved objects by proxy servers”
  1. git-http-fetch: Allow caching of retrieved objects by proxy serversSergey Vlasov, Sep 13, 2005
  2. Junio C HamanoSep 13, 2005
  3. Sergey VlasovSep 14, 2005
  4. Junio C HamanoSep 14, 2005
  5. sfSep 14, 2005
  6. David LangSep 19, 2005
  7. sfSep 19, 2005
  8. Petr BaudisSep 19, 2005
  9. sfSep 20, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.