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.
I tried "playing" with the <Connector> at server.xml many times, and nothing
works.
Finally, I just added an external Gzip Tomcat Filter (and that solved the
problem...)

Here's the relevant part of my server.xml :

   <Connector port="80" protocol="HTTP/1.1"
        compression="1400"
compressableMimeType="text/html,text/css,text/javascript"
        URIEncoding="UTF-8" threadPriority="10"/>

If anyone encountered this issue, please share :)
Is there an open Tomcat ticket for it ? I couldn't find one

thanks
Ran


-- 
רן ברנפלד
מנהל
אתר השחמט הישראלי
*http://www.ichess.co.il*

Reply via email to