[JBoss-dev] http compression (was: SVN Migration complete)

Eric Brown eric.brown at jboss.com
Sun Jul 30 23:02:43 EDT 2006


I've enabled the deflate module on svn.jboss.org and anonsvn.jboss.org
and verified operation with your test below.

I also found this post:

http://www.svnforum.org/2017/viewtopic.php?t=1175&

Which referenced the following settings for the module.  We need to
see if we should change the defaults to something along these lines.
For now, I've commented out these settings on both servers.

##-- DEFLATE
#<IfModule mod_deflate.c>
#       AddEncoding x-compress Z
#       AddEncoding x-gzip gz tgz
#       #DeflateCompressionLevel 9
#       AddOutputFilterByType DEFLATE text/html text/javascript
image/svg+xml text/xml text/plain
#
#       DeflateFilterNote Input instream
#       DeflateFilterNote Output outstream
#       DeflateFilterNote Ratio ratio
#       LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate
#       CustomLog "/services/web/svn.jboss.org/logs/deflate.log" deflate
#       <Directory />
#       # Insert filter
#       SetOutputFilter DEFLATE
#       # Netscape 4.x has some problems...
#       BrowserMatch ^Mozilla/4 gzip-only-text/html
#       # Netscape 4.06-4.08 have some more problems
#       BrowserMatch ^Mozilla/4\.0[678] no-gzip
#       # MSIE masquerades as Netscape, but it is fine
#       BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
#       # Don't compress images
#       SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
#       SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary
#       SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar|7z)$
no-gzip dont-vary
#       </Directory>
#</IfModule>



> From: Scott M Stark <scott.stark at jboss.com>
> Date: Sun, 30 Jul 2006 16:15:25 -0500
> To: Ruel Loehr <ruel.loehr at jboss.com>, <jboss-development at lists.jboss.org>,
> JBoss Labs Admin <labs-admin at jboss.com>
> Conversation: SVN Migration complete
> Subject: RE: SVN Migration complete
> 
> It does not look like we have http compression enabled. I¹m basing this on
> looking at the reply headers from firefox/wget not having a reply header like
> Content-encoding: gzip
>  
>  
> [sstark at sstark ~]$ wget -S --http-user scott.stark at jboss.org --http-password *
> --no-check-certificate --header="Accept-Encoding: gzip,deflate"
> https://svn.jboss.org/repos/jbossas/branches/Branch_4_0/ejb3/local.properties
> --14:07:04-- 
> https://svn.jboss.org/repos/jbossas/branches/Branch_4_0/ejb3/local.properties
>           => `local.properties'
> Resolving svn.jboss.org... 64.74.196.152
> Connecting to svn.jboss.org|64.74.196.152|:443... connected.
> WARNING: Certificate verification error for svn.jboss.org: unable to get local
> issuer certificate
> HTTP request sent, awaiting response...
>   HTTP/1.1 200 OK
>   Date: Sun, 30 Jul 2006 21:07:09 GMT
>   Server: Apache/2.0.54 (Debian GNU/Linux) DAV/2 SVN/1.2.1 mod_ssl/2.0.54
> OpenSSL/0.9.7e
>   ETag: "42827//branches/Branch_4_0/ejb3/local.properties"
>   Accept-Ranges: bytes
>   Content-Length: 734
>   Keep-Alive: timeout=15, max=250
>   Connection: Keep-Alive
>   Content-Type: text/plain
> Length: 734 [text/plain]
>  
> 100%[====================================>] 734           --.--K/s
>  
> 14:07:05 (3.55 MB/s) - `local.properties' saved [734/734]
>  
> Is this something we can enable?
>  
> 
> 
> From: Ruel Loehr 
> Sent: Saturday, July 29, 2006 10:37 PM
> To: jboss-development at lists.jboss.org; The Core; JBoss Labs Admin
> Subject: SVN Migration complete
>  
> The cvs to svn migration for JBossAS is now complete.  The repository is now
> available for use.   The appropriate cruisecontrol projects now build from the
> new repo and Fisheye is currently indexing it.
>  
> The repository location for committers is:
> https://svn.jboss.org/repos/jbossas/
> Anonymous access can be found here:  http://anonsvn.jboss.org/repos/jbossas
>  
> Your login and password are the same as what you use for the jboss.com
> website.
>  
> All employee and non-employee with committer agreements on file have commit
> privileges.
> Non-employee committers who do not have a committer agreement on file have not
> yet been granted privileges.
>  
> We¹ve setup a WIKI page to help you get started.   It will be updated with a
> FAQ as user questions arise.
>  
> http://wiki.jboss.org/wiki/Wiki.jsp?page=SubversionMigrationGuide
>  
> Please direct any questions, problems, or concerns to labs-admin at jboss.com.
>  
>  
> ------------------------
> Examples of subversion tasks (command line usage):
> 1. Checkout jboss-head: svn co https://svn.jboss.org/repos/jbossas/trunk
> jboss-head 
> 2. Checkout jboss-4.0.x: svn co
> https://svn.jboss.org/repos/jbossas/branches/Branch_4_0 jboss-4.0
> 3. Checkout tagged version jboss-4.0.3.SP1: svn co
> https://svn.jboss.org/repos/jbossas/tags/JBoss_4_0_3_SP1 jboss-4.0.3.SP1
> 4. Examine file history of server/build.xml in jboss-head: svn log
> https://svn.jboss.org/repos/jbossas/trunk/server/build.xml
>    
>  
> Ruel Loehr
> JBoss QA
>  
>  
> 
> 
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.10.5/403 - Release Date: 7/28/2006
>  
> 
>   





More information about the jboss-development mailing list