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

Re: [PATCH] gitweb: Adding a `blame' interface.

From
Linus Torvalds <torvalds@osdl.org>
Date
Jun 12, 2006, 14:59 UTC
Message-ID
<Pine.LNX.4.64.0606120754460.5498@g5.osdl.org>
In-Reply-To
<20060612082448.GA11857@verplant.org>
On Mon, 12 Jun 2006, Florian Forster wrote:
Show 5 quoted lines
> 
> Would it help to cache `git-annotate's output, e.g. using one of the
> `Cache::Cache' modules? Or is browsing of blobs too sparse for this to
> result in a performance gain? I'm sure the modules could be integrated
> as a weak precondition.

The apache setup at least on kernel.org is already set up to do caching, as long as the generated headers for the page allow it in the first place.

So caching inside gitweb is generally pointless, at least when it's at the level of one result page. At a higher level, if the internal caching might improve performance of _other_ pages because it caches the result of some intermediate important thing, it might be a different issue.

		Linus
Previous: Florian ForsterNext: Florian Forster
Message 10 of 19 in “gitweb: Adding a `blame' interface.”
  1. gitweb: Adding a `blame' interface.Florian Forster, Jun 11, 2006
  2. Martin LanghoffJun 11, 2006
  3. Florian ForsterJun 12, 2006
  4. gitweb: Make the availability of the `blame' interface in gitweb configurable.Florian Forster, Jun 12, 2006
  5. Martin LanghoffJun 12, 2006
  6. Shawn PearceJun 12, 2006
  7. Johannes SchindelinJun 12, 2006
  8. Shawn PearceJun 12, 2006
  9. Florian ForsterJun 12, 2006
  10. Linus TorvaldsJun 12, 2006
  11. Florian ForsterJun 12, 2006
  12. Jon LoeligerJun 12, 2006
  13. Junio C HamanoJun 14, 2006
  14. Fredrik KuivinenJun 12, 2006
  15. Johannes SchindelinJun 12, 2006
  16. Linus TorvaldsJun 12, 2006
  17. Johannes SchindelinJun 12, 2006
  18. Linus TorvaldsJun 12, 2006
  19. Marco CostalbaJun 15, 2006

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.