tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Goodwin" <g...@arei.net>
Subject RE: GZIP Comrpession Problem
Date Wed, 29 Apr 2009 21:16:00 GMT
Minfy does not seem to impact the success of compression one way or another.
And I do not want to do just minify alone, but rather want compression and
minify together, as the compression saving are more significant than the
minify savings.

Glen

-----Original Message-----
From: Pid [mailto:p@pidster.com] 
Sent: Wednesday, April 29, 2009 4:33 PM
To: Tomcat Users List
Subject: Re: GZIP Comrpession Problem

Glen R. Goodwin wrote:
> 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?

Minify your javascript?

p


---------------------------------------------------------------------
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