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

[PATCH 0/7] Gitweb caching v4

From
John 'Warthog9' Hawley <warthog9@eaglescrag.net>
Date
Jan 13, 2010, 09:34 UTC
Message-ID
<1263375282-15508-1-git-send-email-warthog9@eaglescrag.net>
Evening everyone,
 
This is the latest incarnation of gitweb w/ caching.  This is
finally at the point where it should probably start either being
considered for inclusion or mainline, or I need to accept that this
will never get in and more perminantely fork (as is the case with
Fedora where this is going in as gitweb-caching as a parrallel rpm
package).

That said this brings the base up to mainline (again), it updates a number of elements in the caching engine, and this is a much cleaner break-out of the tree vs. what I am currently developing against.

v4:
	- major re-working of the caching layer to use file handle
	  redirection instead of buffering output
	- other minor improvements
v3:
	- various minor re-works based on mailing list feedback,
	  this series was not sent to the mailing list.
v2:
	- Better breakout
	- You can actually disable the cache now
- John 'Warthog9' Hawley 
John 'Warthog9' Hawley (7):
  gitweb: Load checking
  gitweb: Add option to force version match
  gitweb: Makefile improvements
  gitweb: Optionally add "git" links in project list page
  gitweb: Convert output to using indirect file handle
  gitweb: add a get function to compliment print_local_time
  gitweb: File based caching layer (from git.kernel.org)
 Makefile           |   91 ++---
 gitweb/Makefile    |  129 +++++++
 gitweb/README      |   14 +-
 gitweb/cache.pm    |  283 +++++++++++++++
 gitweb/gitweb.css  |    6 +
 gitweb/gitweb.perl | 1021 ++++++++++++++++++++++++++++++----------------------
 6 files changed, 1052 insertions(+), 492 deletions(-)
 create mode 100644 gitweb/Makefile
 create mode 100644 gitweb/cache.pm
Next: John 'Warthog9' Hawley
Message 1 of 11 in “Gitweb caching v4”
  1. 0/7 Gitweb caching v4John 'Warthog9' Hawley, Jan 13, 2010
  2. 1/7 gitweb: Load checkingJohn 'Warthog9' Hawley, Jan 13, 2010
  3. 2/7 gitweb: Add option to force version matchJohn 'Warthog9' Hawley, Jan 13, 2010
  4. 3/7 gitweb: Makefile improvementsJohn 'Warthog9' Hawley, Jan 13, 2010
  5. 4/7 gitweb: Optionally add "git" links in project list pageJohn 'Warthog9' Hawley, Jan 13, 2010
  6. 5/7 gitweb: Convert output to using indirect file handleJohn 'Warthog9' Hawley, Jan 13, 2010
  7. 6/7 gitweb: add a get function to compliment print_local_timeJohn 'Warthog9' Hawley, Jan 13, 2010
  8. 7/7 gitweb: File based caching layer (from git.kernel.org)John 'Warthog9' Hawley, Jan 13, 2010
  9. Junio C HamanoJan 14, 2010
  10. J.H.Jan 14, 2010
  11. Junio C HamanoJan 14, 2010

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.