# many git sites homepages megabytes big

5 messages from 2008-12-29 to 2008-12-30. Participants: jidanni@jidanni.org, J.H., Jakub Narebski, Anders Melchiorsen.
Thread: https://gitlist.dev/t/16901

## jidanni@jidanni.org, 2008-12-29 05:03

Subject: many git sites homepages megabytes big
Message-ID: <87r63r374j.fsf@jidanni.org>
URL: https://gitlist.dev/e/87r63r374j.fsf%40jidanni.org

```
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., 2008-12-29 05:17

Subject: Re: many git sites homepages megabytes big
Message-ID: <1230527852.6992.2.camel@localhost.localdomain>
URL: https://gitlist.dev/e/1230527852.6992.2.camel%40localhost.localdomain
In-Reply-To: <87r63r374j.fsf@jidanni.org>

```
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:
> 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, 2008-12-30 01:07

Subject: Re: many git sites homepages megabytes big
Message-ID: <m31vvqcvzp.fsf@localhost.localdomain>
URL: https://gitlist.dev/e/m31vvqcvzp.fsf%40localhost.localdomain
In-Reply-To: <87r63r374j.fsf@jidanni.org>

```
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, 2008-12-30 11:01

Subject: Re: many git sites homepages megabytes big
Message-ID: <4959FFA2.4050403@cup.kalibalik.dk>
URL: https://gitlist.dev/e/4959FFA2.4050403%40cup.kalibalik.dk
In-Reply-To: <m31vvqcvzp.fsf@localhost.localdomain>

```
Jakub Narebski wrote:
> 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, 2008-12-30 15:57

Subject: Re: many git sites homepages megabytes big
Message-ID: <877i5hsljo.fsf@jidanni.org>
URL: https://gitlist.dev/e/877i5hsljo.fsf%40jidanni.org
In-Reply-To: <4959FFA2.4050403@cup.kalibalik.dk>

```
>>>>> "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.

```
