threads / discuss / 16901

many git sites homepages megabytes big

Subject: many git sites homepages megabytes big

## tl;dr

5 messages between Dec 29, 2008 and Dec 30, 2008.

replies: 4people: 4as markdown or json

jidanni@jidanni.org· Dec 29, 2008, 05:03 UTC · lore

I notice the web interfaces to many git sites are very risky to just click on. E.g., just clicking http://repo.or.cz/ sends megabytes to the users browser. At least the homepage of such sites should be something lighter in weight.

J.H.· Dec 29, 2008, 05:17 UTC · re: jidanni@jidanni.org · lore

Re: many git sites homepages megabytes big

There are lots of reasons fore and against what your proposing, and there is no good answer. Yes it sends a lot of data, but one could argue - more data is better than less data.

- John 'Warthog9' Hawley
On Mon, 2008-12-29 at 13:03 +0800, jidanni@jidanni.org wrote:
Show 8 quoted lines
> I notice the web interfaces to many git sites are very risky to just
> click on. E.g., just clicking http://repo.or.cz/ sends megabytes to
> the users browser. At least the homepage of such sites should be
> something lighter in weight.
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Jakub Narebski· Dec 30, 2008, 01:07 UTC · re: jidanni@jidanni.org · lore

Re: many git sites homepages megabytes big

jidanni@jidanni.org writes:
> I notice the web interfaces to many git sites are very risky to just
> click on. E.g., just clicking http://repo.or.cz/ sends megabytes to
> the users browser. At least the homepage of such sites should be
> something lighter in weight.

That is a bit of historical artifact. Currently the "index" page for gitweb installation is 'projects_list' page with _all_ the projects hosted. It is not split into pages, like for example 'log' or 'heads' views are; there were some patches for that, but would have to be redone as the area changed a bit since. It could have been replaced by projects search page...

It is a bit of historical reason.
-- 
Jakub Narebski
Poland
ShadeHawk on #git
Anders Melchiorsen· Dec 30, 2008, 11:01 UTC · re: Jakub Narebski · lore

Re: many git sites homepages megabytes big

Jakub Narebski wrote:
Show 18 quoted lines
> jidanni@jidanni.org writes:
>
>   
>> I notice the web interfaces to many git sites are very risky to just
>> click on. E.g., just clicking http://repo.or.cz/ sends megabytes to
>> the users browser. At least the homepage of such sites should be
>> something lighter in weight.
>>     
>
> That is a bit of historical artifact. Currently the "index" page for
> gitweb installation is 'projects_list' page with _all_ the projects
> hosted. It is not split into pages, like for example 'log' or 'heads'
> views are; there were some patches for that, but would have to be
> redone as the area changed a bit since. It could have been replaced by
> projects search page...
>
> It is a bit of historical reason.
>   

For the specific case of repo.or.cz, I guess that turning on HTTP compression might help a lot.

Anders.
jidanni@jidanni.org· Dec 30, 2008, 15:57 UTC · re: Anders Melchiorsen · lore

Re: many git sites homepages megabytes big

>>>>> "AM" == Anders Melchiorsen <mail@cup.kalibalik.dk> writes:

AM> For the specific case of repo.or.cz, I guess that turning on HTTP AM> compression might help a lot.

It's the billion bytes to the innocents' browser that huts the most. Bad to put such large homepages into browsers.

← back to recent threads