tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid...@pidster.com>
Subject Re: GZIP Comrpession Problem
Date Fri, 01 May 2009 13:49:03 GMT
Glen Goodwin wrote:
> Anyone else have any useful thoughts on this before I start putting together
> a bug report?

Can you determine at what file size the connector no longer compresses
the files?  (A JS file stuffed with a comment full of lorem ipsum would
do for testing)

Ideally counted down to the byte.


p


> Glen
> 
> -----Original Message-----
> Subject: GZIP Comrpession Problem
> 
> Using Tomcat 6.0.18 I have configured GZIP compression by adding the
> following lines to my connector.  
> 
>  
> 
> compression="force"
> 
> compressableMimeType="text/html,text/xml,text/plain,text/css,text/javascript
> ,text/json,application/json"
> 
> noCompressionUserAgents="gozilla, traviata"
> 
>  
> 
> I am not using APR or anything other than tomcat.
> 
>  
> 
> The question is this: Is there any reason why some .js files are getting
> gzip compression and some are not?
> 
>  
> 
> I have checked to make sure the mime type is correct.  I have verified the
> problem using multiple connection agents (Firefox, curl, etc).  
> 
>  
> 
> My .JS file that is not getting compressed is 222k.  Smaller files seem to
> get compressed, but larger ones don't.  I haven't found reports via an
> internet search that imply there is some upper limit setting.
> 
>  
> 
> Anyone have any thoughts?
> 
>  
> 
> Glen
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message