On Aug 16, 2007, at 2:13 PM, Michael L. Davis wrote:

> Hi Everybody,
>
> Using Resin Pro 3.0.23, enabling gzip compression works on Windows XP,
> specifically the large (300K+) amount of javascript we use gets
> compressed to 25% or so. Very nice.
>
> But on Linux, only the HTML is compressed. This we verified using:
> http://www.websiteoptimization.com/services/analyze/index.html and
> Firefox's FireBug.

Can you look at the headers that the client is sending to Resin?  
(level="finer" will show those)

It's possible that the gzip filter isn't properly handling the Accept- 
Encoding from the client.

-- Scott

>
> The Linux version is: CentOS release 4.5 (Final)
>
> What we have in conf (and we've tried a number of variations) is:
>
>         <web-app id="/" document-directory="/var/www/resin/deploy">
>                 <filter filter-name="gzip"
> filter-class="com.caucho.filters.GzipFilter"/>
>                 <filter-mapping filter-name="gzip">
>                         <url-pattern>
>                                 <exclude-pattern>*.pdf</exclude- 
> pattern>
>                                 <include-pattern>/*</include-pattern>
>                         </url-pattern>
>                 </filter-mapping>
>        </web-app>
>
> Any suggestions? Anybody?
>
> Thanks,
> Mike.
>
>
>
>
>
>
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to