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

Re: [RESEND] Pagination for gitweb

From
Jakub Narebski <jnareb@gmail.com>
Date
Sep 10, 2010, 21:53 UTC
Message-ID
<201009102353.17279.jnareb@gmail.com>
In-Reply-To
<4C8A816E.4090305@eaglescrag.net>
On Fri, 10 Sep 2010, J.H. wrote:
Show 17 quoted lines
> On 09/10/2010 11:57 AM, Jakub Narebski wrote:
> > Lubomir Rintel <lkundrak@v3.sk> writes:
> > 
> > > I thought something like this could be a starter for better handling long
> > > gitweb project lists (such as http://pkgs.fedoraproject.org/gitweb/).
> > >
> > > Could anyone please take a look?
> > 
> > What do you mean here by "better handling"?  
> > 
> > Is the problem server performance for large number of projects?  If
> > this is the problem, perhaps better solution would be to use caching
> > (work in progress).
> 
> They already moved to using my caching layer, mainly because I could
> create an RPM for them and the fact that my caching code is slightly
> more battle tested.

Note that with project list pagination, and especially with project search feature, a better solution might be to cache *data* rather than HTML output, like in fork used (or used to be used) by http://repo.or.cz, or in Lea Wiemann's GSoC 2008 project [1]

[1] http://repo.or.cz/w/git/gitweb-caching.git
-- 
Jakub Narebski
Poland
Previous: J.H.Next: Jakub Narebski
Message 8 of 9 in “[RESEND] Pagination for gitweb”
  1. Lubomir RintelSep 10, 2010
  2. 1/2 gitweb: Make it possible to paginate projectsLubomir Rintel, Sep 10, 2010
  3. 2/2 gitweb: Optimize paging when sorted by pathLubomir Rintel, Sep 10, 2010
  4. Jakub NarebskiSep 10, 2010
  5. Jakub NarebskiSep 10, 2010
  6. Jakub NarebskiSep 10, 2010
  7. J.H.Sep 10, 2010
  8. Jakub NarebskiSep 10, 2010
  9. Jakub NarebskiSep 12, 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.