tag:blogger.com,1999:blog-87926254414007961.post2653361454104277607..comments2023-06-04T14:14:20.296+03:00Comments on Coder Eye: Tomcat Performance: gzip CompressionGuy Bashanhttp://www.blogger.com/profile/13987595961461293379noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-87926254414007961.post-67181159200576707862014-09-24T10:00:26.423+03:002014-09-24T10:00:26.423+03:00Hi, i tried this for PDF files in windows platform...Hi, i tried this for PDF files in windows platform. It didn't work. Is this for only text response? <br /><br />Thanks.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-87926254414007961.post-77380448772522964512013-04-11T14:21:11.537+03:002013-04-11T14:21:11.537+03:00Hi Marc, thanks for the correction. I will fix the...Hi Marc, thanks for the correction. I will fix the blog post.Guy Bashanhttps://www.blogger.com/profile/13987595961461293379noreply@blogger.comtag:blogger.com,1999:blog-87926254414007961.post-29130628908019636592013-04-11T11:15:26.413+03:002013-04-11T11:15:26.413+03:00Hi Guy,
thanks for the blog post, but I think the...Hi Guy,<br /><br />thanks for the blog post, but I think there is a spelling mistake. The attribute for the connector is called "compressableMimeType" not "compressableMimeTypes" (no "s" at the end). I copy-pasted your connector definition, and it just gzipped the html, but not css and javascript. This is the default. With the correct attribute it gzips everything properly.<br /><br />Cheers<br /><br />MarcAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-87926254414007961.post-10478414219586542952013-04-11T11:12:50.744+03:002013-04-11T11:12:50.744+03:00Hi Guy,
thanks for the post. Unfortunately I thin...Hi Guy,<br /><br />thanks for the post. Unfortunately I think there is an error. I just copy-pasted your code and got angry because it was working for html but not for css and javascript. I found out there seems to be a spelling mistake in your connector definition: the attribute is called compressableMimeType not compressableMimeTypes. There is no "s" on the end. Maybe you want to correct this.<br /><br />Cheers<br /><br />MarcAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-87926254414007961.post-27281628017558453502011-12-28T23:01:40.274+02:002011-12-28T23:01:40.274+02:00Sorry, I have no idea how it used to be on version...Sorry, I have no idea how it used to be on versions before Tomcat6. On Tomcat6 this parameter should be the one.Guy Bashanhttps://www.blogger.com/profile/13987595961461293379noreply@blogger.comtag:blogger.com,1999:blog-87926254414007961.post-86140085029277619292011-12-28T21:12:59.651+02:002011-12-28T21:12:59.651+02:00the book Pro Apache Tomcat 6 says that the value o...the book Pro Apache Tomcat 6 says that the value of the compression can be yes, no, or the minimum size, and they do not list a compressionMinSize attribute to the Connector. Is this new for Tomcat 6?teledynhttps://www.blogger.com/profile/15387640373550962501noreply@blogger.comtag:blogger.com,1999:blog-87926254414007961.post-20556359387758539972010-08-24T15:14:57.632+03:002010-08-24T15:14:57.632+03:00This post is specifically for Tomcat compression.
...This post is specifically for Tomcat compression.<br />I read you post. It is a nice addition. Thanks.Guy Bashanhttps://www.blogger.com/profile/13987595961461293379noreply@blogger.comtag:blogger.com,1999:blog-87926254414007961.post-28511757026629450492010-08-24T11:41:58.494+03:002010-08-24T11:41:58.494+03:00Good think to have gzip compression in Tomcat.
Th...Good think to have gzip compression in Tomcat. <br />There are also several other ways to improve tomcat's performance. I wrote about them here: http://touk.pl/blog/2010/08/23/glimpse-on-tomcat-performance-tuning/ just look if You are interested.<br /><br />GreetingsAnonymousnoreply@blogger.com