<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > <channel><title>Comments on: Enable GZIP compression in tomcat</title> <atom:link href="http://viralpatel.net/blogs/2008/11/enable-gzip-compression-in-tomcat.html/feed" rel="self" type="application/rss+xml" /><link>http://viralpatel.net/blogs/2008/11/enable-gzip-compression-in-tomcat.html</link> <description>Tutorials, Java, J2EE, Struts, AJAX, JavaScript, CSS, Web 2.0, MySQL, Articles</description> <lastBuildDate>Wed, 08 Feb 2012 10:36:26 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Raul</title><link>http://viralpatel.net/blogs/2008/11/enable-gzip-compression-in-tomcat.html/comment-page-1#comment-21301</link> <dc:creator>Raul</dc:creator> <pubDate>Tue, 03 Jan 2012 19:45:13 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=211#comment-21301</guid> <description>Thanx!</description> <content:encoded><![CDATA[<p>Thanx!</p> ]]></content:encoded> </item> <item><title>By: Gustavo</title><link>http://viralpatel.net/blogs/2008/11/enable-gzip-compression-in-tomcat.html/comment-page-1#comment-16031</link> <dc:creator>Gustavo</dc:creator> <pubDate>Thu, 15 Sep 2011 20:11:55 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=211#comment-16031</guid> <description>Is there any way to set these configurations in WEB-INF/web.xml?</description> <content:encoded><![CDATA[<p>Is there any way to set these configurations in WEB-INF/web.xml?</p> ]]></content:encoded> </item> <item><title>By: John</title><link>http://viralpatel.net/blogs/2008/11/enable-gzip-compression-in-tomcat.html/comment-page-1#comment-14559</link> <dc:creator>John</dc:creator> <pubDate>Fri, 15 Apr 2011 22:23:04 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=211#comment-14559</guid> <description>Maybe it will be better to wrap your JS declaration into compressing tag like that&lt;g:compress&gt; &lt;script type=&quot;text/javascript&quot; src=&quot;common.js&quot;/&gt; &lt;script type=&quot;text/javascript&quot; src=&quot;closure/goog/base.js&quot;/&gt; &lt;/script&gt; &lt;/g:compress&gt;using Granule tag library from http://code.google.com/p/granule/</description> <content:encoded><![CDATA[<p>Maybe it will be better to wrap your JS declaration into compressing tag like that</p><p>&lt;g:compress&gt;<br /> &lt;script type=&#8221;text/javascript&#8221; src=&#8221;common.js&#8221;/&gt;<br /> &lt;script type=&#8221;text/javascript&#8221; src=&#8221;closure/goog/base.js&#8221;/&gt;<br /> &lt;/script&gt;<br /> &lt;/g:compress&gt;</p><p>using Granule tag library from <a href="http://code.google.com/p/granule/" rel="nofollow">http://code.google.com/p/granule/</a></p> ]]></content:encoded> </item> <item><title>By: Gig</title><link>http://viralpatel.net/blogs/2008/11/enable-gzip-compression-in-tomcat.html/comment-page-1#comment-14388</link> <dc:creator>Gig</dc:creator> <pubDate>Tue, 22 Mar 2011 11:31:15 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=211#comment-14388</guid> <description>I have the same problem with Agus. some of my .js files are gzipped, but some are not. wierd</description> <content:encoded><![CDATA[<p>I have the same problem with Agus.<br /> some of my .js files are gzipped, but some are not.<br /> wierd</p> ]]></content:encoded> </item> <item><title>By: sn</title><link>http://viralpatel.net/blogs/2008/11/enable-gzip-compression-in-tomcat.html/comment-page-1#comment-14047</link> <dc:creator>sn</dc:creator> <pubDate>Sat, 19 Feb 2011 17:41:01 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=211#comment-14047</guid> <description>Nice tutorial, I like most of your blogs. Here&#039;s another tutorial that explains how to enable gzip compression http://www.servletworld.com/tomcat/enable-tomcat-gzip-compression.html</description> <content:encoded><![CDATA[<p>Nice tutorial, I like most of your blogs. Here&#8217;s another tutorial that explains how to enable gzip compression <a href="http://www.servletworld.com/tomcat/enable-tomcat-gzip-compression.html" rel="nofollow">http://www.servletworld.com/tomcat/enable-tomcat-gzip-compression.html</a></p> ]]></content:encoded> </item> <item><title>By: Agus</title><link>http://viralpatel.net/blogs/2008/11/enable-gzip-compression-in-tomcat.html/comment-page-1#comment-12889</link> <dc:creator>Agus</dc:creator> <pubDate>Fri, 23 Jul 2010 01:58:37 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=211#comment-12889</guid> <description>May I know how to post the code here?</description> <content:encoded><![CDATA[<p>May I know how to post the code here?</p> ]]></content:encoded> </item> <item><title>By: Agus</title><link>http://viralpatel.net/blogs/2008/11/enable-gzip-compression-in-tomcat.html/comment-page-1#comment-12888</link> <dc:creator>Agus</dc:creator> <pubDate>Fri, 23 Jul 2010 01:58:05 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=211#comment-12888</guid> <description>port=&quot;8180&quot; maxHttpHeaderSize=&quot;8192&quot; address=&quot;192.168.1.83&quot; maxThreads=&quot;150&quot; minSpareThreads=&quot;25&quot; maxSpareThreads=&quot;75&quot; enableLookups=&quot;false&quot; redirectPort=&quot;9543&quot; acceptCount=&quot;150&quot; connectionTimeout=&quot;20000&quot; disableUploadTimeout=&quot;true&quot; compression=&quot;on&quot;  compressionMinSize=&quot;12000&quot; noCompressionUserAgents=&quot;gozilla,traviata&quot; compressableMimeType=&quot;text/html,text/xml,text/css,text/javascript,application/x-javascript&quot;</description> <content:encoded><![CDATA[<p>port=&#8221;8180&#8243; maxHttpHeaderSize=&#8221;8192&#8243; address=&#8221;192.168.1.83&#8243;<br /> maxThreads=&#8221;150&#8243; minSpareThreads=&#8221;25&#8243; maxSpareThreads=&#8221;75&#8243;<br /> enableLookups=&#8221;false&#8221; redirectPort=&#8221;9543&#8243; acceptCount=&#8221;150&#8243;<br /> connectionTimeout=&#8221;20000&#8243; disableUploadTimeout=&#8221;true&#8221;<br /> compression=&#8221;on&#8221;  compressionMinSize=&#8221;12000&#8243; noCompressionUserAgents=&#8221;gozilla,traviata&#8221;<br /> compressableMimeType=&#8221;text/html,text/xml,text/css,text/javascript,application/x-javascript&#8221;</p> ]]></content:encoded> </item> <item><title>By: Agus</title><link>http://viralpatel.net/blogs/2008/11/enable-gzip-compression-in-tomcat.html/comment-page-1#comment-12887</link> <dc:creator>Agus</dc:creator> <pubDate>Fri, 23 Jul 2010 01:57:09 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=211#comment-12887</guid> <description>Hi Viral,That&#039;s strange my ext-all.js is not compressed at all.Above is the connector settings I have on server.xml. Thank you very much for you help.</description> <content:encoded><![CDATA[<p>Hi Viral,</p><p>That&#8217;s strange my ext-all.js is not compressed at all.</p><p>Above is the connector settings I have on server.xml. Thank you very much for you help.</p> ]]></content:encoded> </item> <item><title>By: Viral Patel</title><link>http://viralpatel.net/blogs/2008/11/enable-gzip-compression-in-tomcat.html/comment-page-1#comment-12832</link> <dc:creator>Viral Patel</dc:creator> <pubDate>Wed, 14 Jul 2010 09:09:45 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=211#comment-12832</guid> <description>@Agus: There is no upper limit on size for compression. Check the mime type that you have specified in server.xml. Is it application/x-javascript? Also try to refresh and clear cache to see if the browser is not serving the js from cache.</description> <content:encoded><![CDATA[<p>@Agus: There is no upper limit on size for compression. Check the mime type that you have specified in server.xml. Is it application/x-javascript? Also try to refresh and clear cache to see if the browser is not serving the js from cache.</p> ]]></content:encoded> </item> <item><title>By: Agus</title><link>http://viralpatel.net/blogs/2008/11/enable-gzip-compression-in-tomcat.html/comment-page-1#comment-12831</link> <dc:creator>Agus</dc:creator> <pubDate>Wed, 14 Jul 2010 09:05:05 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=211#comment-12831</guid> <description>Hi Viral,I have turned On the compression on my tomcat server. Below is the setting of my server.xmlAnd it works on all js files, except ext-all.js file which is around ~650KB, and this file is my main intention of of turning ON the compression.  Is there any upper limit on the size of the file to be compressed?</description> <content:encoded><![CDATA[<p>Hi Viral,</p><p>I have turned On the compression on my tomcat server. Below is the setting of my server.xml</p><p>And it works on all js files, except ext-all.js file which is around ~650KB, and this file is my main intention of of turning ON the compression.  Is there any upper limit on the size of the file to be compressed?</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: viralpatel.net @ 2012-02-09 09:18:41 -->
