tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Epshteyn <alexander.epsht...@gmail.com>
Subject RE: Large HTML file not getting compressed despite compressionenabled
Date Sat, 19 Apr 2008 15:50:20 GMT

I thought about trying without APR, but wasn't sure how to disable it (on
Linux).

Anyways, I've worked around this problem by implementing my own filter that
serves up a pre-gzipped version of the files that aren't getting compressed.

Alex



Caldarale, Charles R wrote:
> 
>> From: Alex Epshteyn [mailto:alexander.epshteyn@gmail.com] 
>> Subject: Re: Large HTML file not getting compressed despite 
>> compressionenabled
>> 
>> org.apache.coyote.http11.Http11AprProcessor:1504:
>>         response.getContentLengthLong() returns 4,
>> instead of the true file size, making it appear
>> lower than the minimum compression threshold.
> 
> Just for grins, have you tried it without APR in the mix?
> 
>  - Chuck
> 

-- 
View this message in context: http://www.nabble.com/Large-HTML-file-not-getting-compressed-despite-compression-enabled-tp16387385p16784626.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message