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

Re: gitweb.cgi

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Oct 19, 2005, 00:30 UTC
Message-ID
<43559399.2030903@zytor.com>
In-Reply-To
<Pine.LNX.4.64.0510181645200.3369@g5.osdl.org>
Linus Torvalds wrote:
Show 13 quoted lines
> 
> It really doesn't work very well with the "front page" though..
> 
> Doing a "Save page as.." shows that it's not a huge page: it's roughly 700 
> lines long and 57kB in size, but pressing the reload button (or just going 
> somewhere else and coming back immediately) takes 45 seconds to reload for 
> me.
> 
> Trying again shows that it _is_ cached if you press the reload button 
> immediately again, but I haven't quite figured out how long the cache 
> timeout is. It seems to be around one minute (from some very preliminary 
> tests it's more than 25 seconds, but less than a minute and a half).
> 

The cache timeout is set to 300 seconds, however, that's per server, of course.

> Considering that apparently the load is enough that it takes 45 seconds to 
> generate (scary in itself), is should clearly be cached for more than one 
> minute. More like ten minutes or half an hour, especially since mirroring 
> any content changes takes longer than that anyway.

The latency for an I/O operation on the kernel.org servers is positively scary.

	-hpa
Previous: Linus TorvaldsNext: Linus Torvalds
Message 7 of 15 in “gitweb.cgi”
  1. H. Peter AnvinOct 18, 2005
  2. Kay SieversOct 18, 2005
  3. H. Peter AnvinOct 18, 2005
  4. H. Peter AnvinOct 18, 2005
  5. Brian GerstOct 18, 2005
  6. Linus TorvaldsOct 19, 2005
  7. H. Peter AnvinOct 19, 2005
  8. Optimize common case of git-rev-list (was Re: gitweb.cgi)Linus Torvalds, Oct 19, 2005
  9. H. Peter AnvinOct 19, 2005
  10. Linus TorvaldsOct 19, 2005
  11. H. Peter AnvinOct 19, 2005
  12. Linus TorvaldsOct 19, 2005
  13. H. Peter AnvinOct 19, 2005
  14. Kay SieversOct 19, 2005
  15. Kay SieversOct 19, 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.