The old AS4 version of RHQ had Gzip compression we need to enable this for the new AS7 version. http://stackoverflow.com/questions/2994420/enabling-gzip-compression-for-jboss To Test, look in the HTTP header for Content-encoding(not Accept-encoding it will be there already from the browser) and gzip should be in there. This will reduce the size of the downloads and speed up the overall browser performance.
I have verified that adding: <system-properties> <property name="org.apache.coyote.http11.Http11Protocol.COMPRESSION" value="on"/> <property name="org.apache.coyote.http11.Http11Protocol.COMPRESSION_MIME_TYPES" value="text/javascript,text/css,text/html"/> </system-properties> to: dev-container/jboss-as/standalone/configuration/standalone-full.xml results in gzip compression Passing on to mazz for installer config.
If these are just sys props you need added, we should put these in rhq-server startup script, rather than in the standalone xml, since we do this for other sysprops as well: in rhq-server.sh, add them here: # Add the JVM opts that we always want to specify, whether or not the user set RHQ_SERVER_JAVA_OPTS. # Note that the double equals for the policy file specification IS INTENTIONAL RHQ_SERVER_JAVA_OPTS="-Dapp.name=rhq-server ${RHQ_SERVER_JAVA_OPTS} -Drhq.server.home=${RHQ_SERVER_HOME} -Djboss.server.log.dir=${_LOG_DIR_PATH} -Djava.awt.headless=true -Dsun.lang.ClassLoader.allowArraySyntax=true -Djboss.server.default.config=standalone-full.xml -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.security.manager -Djava.security.policy==${RHQ_SERVER_HOME}/bin/rhq-server.security-policy ${_JBOSS_DEBUG_LOGGING}" That is for UNIX/Linux. For windows we put them here: rhq-server-wrapper.conf where you need to add additional wrapper.java.additional.# values (don't forget to bump up the numbers in rhq-server-wrapper.inc (which is for developers, read the top of that file).
git commit to master: bcda4cd
Possible browser sensitivity... IE http://support.microsoft.com/kb/837251 FF http://support.mozilla.org/en-US/questions/935596 QE ... this needs to be qualified in all supported browsers IE8 (deprecated) , IE9, FF17 ... including charts.
Bugfix to above commit. Fixed syntax error. git master commit id: 813c498
Created attachment 741992 [details] Firefox gzip encoding
See above attachment image for gzip header verification via Firefox Firebug plugin.
Tested with both FF17 and IE9. No issues with FF17 and IE9 works fine however, it doesn't seem to compress the files (so no speed increases for IE9). In IE dev tools the size isn't reduced and the content-encoding does not specify gzip although the accept-content has gzip (meaning the browser is capable). We might want to create a separate bug on this to track this minor issue.