2011/1/13 Ran Berenfeld <ich...@ichess.co.il>: > 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 the HTTP headers (for example when viewed using Firefox > "Live HTTP Headers" plugin) clearly shows that the compression works only > for the small > js file, and not for the large file.
Maybe those are sent by "sendfile" and thus avoid being compressed. There is certain size threshold (48 Kb, set by sendfileSize parameter on DefaultServlet) Try to set useSendfile="false" on your Connector. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org