users@glassfish.java.net

Re: http compression enabled, but don't apply to all .js file

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 19 Nov 2007 10:36:21 -0500

Salut,

fangzx wrote:
> I enabled http compression of GlassFish by command-line :
>
> asadmin set
> server.http-service.http-listener.http-listener-1.property.compression=force
> asadmin set
> server.http-service.http-listener.http-listener-1.property.minCompressionSize=2048
> asadmin set
> server.http-service.http-listener.http-listener-1.property.noCompressionUserAgents="gozilla,
> traviata"
> asadmin set
> server.http-service.http-listener.http-listener-1.property.compressableMimeType="text/html,text/xml,text/javascript,text/css,text/plain"
>
> The effect of compression can seen from FireFox Web Developer tool (see
> attachment).
>
> http://www.nabble.com/file/p13807283/compress-effect.zip compress-effect.zip

I think you are facing:

https://glassfish.dev.java.net/issues/show_bug.cgi?id=3817

Can you try with a recent v2ur1 build?

Thanks

-- Jeanfrancois