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

Reply via email to