Re: [RFC/PATCH] gitweb: Paginate project list
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- May 14, 2008, 07:59 UTC
- Message-ID
- <200805140959.58263.jnareb@gmail.com>
- In-Reply-To
- <200805140128.40853.jnareb@gmail.com>
On Wed, 14 May 2008, Jakub Narebski wrote:
> On Tue, 13 May 2008, Lars Hjemli wrote:
Show 8 quoted lines
>> Another (less accurate) alternative is to stat one or more of >> packed-refs and refs/heads/*; cgit uses both of these alternatives to >> avoid hitting the repo (i.e. object-db) when the project list/search >> page is generated. > > [It] doesn't hit the > object-db, but it hits I/O (perhaps very slightly); and the second > solution is what we can pursue for gitweb in addition to caching data.
NOTE, NOTE, NOTE! This changes _semantics_ from "Last Change" (i.e. commit date of latest commit), to "Last Update" (when latest batch of objects arrived at given repository).
-- Jakub Narebski Poland