Improve performance - compression
Not sure, why this has not been done by default, but to reduce the HTML-page sizes (typically 140-160KB), adjust the following:
1) Stop AppManager
2) Make a backup of ./working/apache/tomcat/conf/backup/server.xml
3) Adjust the ./working/apache/tomcat/conf/backup/server.xml to be the following:
<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080-->
<Connector port="WEBSERVER_PORT" className="org.apache.catalina.connector.http.HttpConnector"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
debug="0" connectionTimeout="20000"
disableUploadTimeout="true" useBodyEncodingForURI="true"
[b] compression="on"
compressionMinSize="2048"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/xml,text/javascript,text/css" />[/b]
4) Make sure that you remove the comments properly, so that it shows the Connector section as above.
5) You will notice with Wireshark or HTTP-sniffer that gzip-compression is now enabled. (and page-sizes are down from 120KB to 20KB)
New to ADSelfService Plus?