https://bz.apache.org/bugzilla/show_bug.cgi?id=64431
Bug ID: 64431
Summary: Enable response compression by default
Product: Tomcat 10
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Connectors
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ------
In Tomcat 10, I believe that compression should be enabled by default for the
HTTP connector. In other words, change the default value of
Connector#compression from "off" to "on" as documented at:
https://tomcat.apache.org/tomcat-10.0-doc/config/http.html
I don't believe that there's any (significant) downside to enabling compression
by default, and I believe doing so aligns with the best experience for Tomcat's
users. Years ago, the extra CPU consumption of compression may have been a
concern, but I think the time for that worry has passed - the reduced network
transfer is far more important for the almost all situations. The default
values of "compressionMinSize", "compressibleMimeType", and
"noCompressionUserAgents" ensure that compressing is done in a useful, safe
way.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]