Before you start the upgrade, make sure to upgrade to the latest available 3.5.x version. This will make sure that you are building against the most recent dependencies of that line. Please take time ...
Additional mime types that should be compressed when sending HTTP responses can be configured using server.compression.additional-mime-types ...