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.
threads / discuss / 16901
many git sites homepages megabytes big
Subject: many git sites homepages megabytes big
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
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
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.
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.