Not really, it does not use stock HTTP (GET every objects, pack etc), it use git-http-backend that is CGI code that use git-upload-pack and git pack-objects as git daemon does. You only have HTTP headers as an overhead.
To compar time between both I did clone core/efl.git with HTTP and git protocol from a server in france : git: 1m35.757s http: 1m31.452s You are free to repeat at your home. In any case git:// should be prefered. D'ar sul 24 a viz C'hwevrer 2013 e 15 eur 26, « Daniel Juyung Seo » he deus skrivet : > Yes it's cool to have. Thanks Bertrand Jacquin. > But as Tom mentioned git is way faster. > So try git first and setup git proxy if one uses proxy. If it fails, > use this http stuff. > > Anyway great! > Thanks. > > Daniel Juyung Seo (SeoZ) > > > On Sun, Feb 24, 2013 at 11:16 PM, Tom Hacohen <[email protected]> wrote: > > Cool to have, but guys, if you can use the git protocol, you should. It > > should be way faster, and less hard on the server. > > > > -- > > Tom. > > > > > > On Sun, Feb 24, 2013 at 1:17 PM, Bertrand Jacquin <[email protected]>wrote: > > > >> D'ar sul 24 a viz C'hwevrer 2013 e 14 eur 12, « Carsten Haitzler » he deus > >> skrivet : > >> > On Sun, 24 Feb 2013 13:50:07 +0100 Bertrand Jacquin <[email protected]> > >> said: > >> > > >> > > Hi, > >> > > > >> > > Pretty sure nobody will care about, but now all git repositories have > >> > > read only access via HTTP for thoses behind firewall. > >> > > > >> > > The clone URL in cgit have been updated to report the cloning URL. This > >> > > URL is the same shown in your browser URL bar, don't panic, this is > >> > > handled by filtering the requested file that never conflict with cgit. > >> > > Some htaccess magic does help. > >> > > > >> > > So for official git repositoried, it now give the following : > >> > > > >> > > http://git.enlightenment.org/core/efl.git > >> > > http://git.enlightenment.org/core/elementary.git > >> > > http://git.enlightenment.org/core/enlightenment.git > >> > > >> > this is actually rather cool. :) it was one of those benefits "out of > >> the box" > >> > for svn originally. :) > >> > >> For thoses who are interested in a such configuration : > >> > >> # Force no Indexes in all cases > >> # Force ExecCGI > >> # FollowSymlinks for RewriteEngine > >> Options -Indexes ExecCGI FollowSymlinks > >> > >> AddHandler cgi-script .cgi > >> # No index.html or other things > >> DirectoryIndex cgit.cgi > >> > >> # Config is locally hosted, not depending on root filesystem > >> SetEnv CGIT_CONFIG ./cgitrc > >> > >> # git-html-backend config > >> # GIT_HTTP_EXPORT_ALL is not setted, gitolite is creating > >> git-daemon-export-ok > >> SetEnv GIT_PROJECT_ROOT /srv/gitolite/repositories > >> > >> RewriteEngine On > >> > >> # Disable HTTPS > >> RewriteCond %{ENV:HTTPS} On > >> RewriteRule ^(.*) http://%{SERVER_NAME}/$1 [R=301,L] > >> > >> # Stop here if cgit is handling the request > >> RewriteCond %{REQUEST_URI} ^/cgit.cgi > >> RewriteRule (.*) - [L] > >> > >> # Stop here if git-http-backend is handling the request > >> RewriteCond %{REQUEST_URI} ^/git-http-backend.cgi > >> RewriteRule (.*) - [L] > >> > >> # Refuse to serve to users the config file > >> RewriteCond %{REQUEST_URI} ^/cgitrc > >> RewriteRule (.*) - [F,L] > >> > >> # Disable git-http-backend write access > >> RewriteCond %{REQUEST_URI} ^(.*)\.git/git-receive-pack > >> RewriteRule (.*) - [F,L] > >> > >> # Access to git files is a the same URL than cgit, filter them > >> RewriteCond %{REQUEST_URI} ^(.*)\.git/HEAD$ > >> [OR] > >> RewriteCond %{REQUEST_URI} ^(.*)\.git/info/refs$ > >> [OR] > >> RewriteCond %{REQUEST_URI} ^(.*)\.git/objects/info/[^/]+ > >> [OR] > >> RewriteCond %{REQUEST_URI} ^(.*)\.git/objects/[0-9a-f]{2}/[0-9a-f]{38}$ > >> [OR] > >> RewriteCond %{REQUEST_URI} ^(.*)\.git/pack/pack-[0-9a-f]{40}\.(pack|idx)$ > >> [OR] > >> RewriteCond %{REQUEST_URI} ^(.*)\.git/git-upload-pack$ > >> RewriteRule (.*) /git-http-backend.cgi/$1 [L,QSA] > >> > >> # Access cgit from / > >> RewriteRule ^([^/]+)(/(.*)) /cgit.cgi/$1$2 [L,QSA,NS] > >> > >> -- > >> Beber > >> > >> > >> ------------------------------------------------------------------------------ > >> Everyone hates slow websites. So do we. > >> Make your web apps faster with AppDynamics > >> Download AppDynamics Lite for free today: > >> http://p.sf.net/sfu/appdyn_d2d_feb > >> _______________________________________________ > >> enlightenment-devel mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > >> > >> > > > > > > -- > > Tom. > > ------------------------------------------------------------------------------ > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://p.sf.net/sfu/appdyn_d2d_feb > > _______________________________________________ > > enlightenment-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Beber
pgpLQYhOMRFnY.pgp
Description: PGP signature
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
