Re: Tomcat 6.0 GZIP Compression not working for large js files

2011-01-17 Thread Konstantin Kolinko
2011/1/14 Ran Berenfeld : > it's a pity it's not documented somewhere, that the "default" tomcat > settings actually fails to compress > anything above 48KB size. (well actually the defaults is not to compress at > all) I updated the TC7 and TC6 documentation by adding a comment to the "compre

Re: Tomcat 6.0 GZIP Compression not working for large js files

2011-01-14 Thread Ran Berenfeld
Thank you very much ! indeed, it was that "sendFile" feature. I disabled it by setting sendFileSize to -1 in the default servlet (and I guess disabling it useSendfile="false" would be the same) after disabling this "sendfile" feature, all js files, small and large, are compressed correctly. it's a

Re: Tomcat 6.0 GZIP Compression not working for large js files

2011-01-13 Thread Konstantin Kolinko
2011/1/13 Ran Berenfeld : > Hello > I'm using tomcat 6 for a deployed website (http://www.ichess.co.il) > and since the beginning, GZIP compression did not work for part of the > files. > the amazing thing is that the website have several javascript files, some > quite small > and some large, and t

Re: Tomcat 6.0 GZIP Compression not working for large js files

2011-01-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ran, On 1/13/2011 3:04 PM, Ran Berenfeld wrote: > I'm using tomcat 6 for a deployed website (http://www.ichess.co.il) > and since the beginning, GZIP compression did not work for part of the > files. :( What specific version of Tomcat 6? > the amaz