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
--
View this message in context: http://www.nabble.com/http-compression-enabled%2C-but-don%27t-apply-to-all-.js-file-tf4825863.html#a13807283
Sent from the java.net - glassfish users mailing list archive at Nabble.com.