Technical references : Administration : Performance : Compression default enabled on the web server
Compression default enabled on the web server
Performance compression is enabled by default on the web server. See the HTTP connector in server.xml located in \Server\tomcat-*\conf.
<Connector URIEncoding="UTF-8" compression="on" connectionTimeout="20000" maxHttpHeaderSize="16384" port="18170" protocol="HTTP/1.1" redirectPort="8443" server="webserver"/>
When you are close to the web server and CPU cycles are important, the compression slows down the application. You can disable it if required.
For more information, see Apache Tomcat 9 Configuration Reference.