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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


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

Reply via email to