From 0603a1dfaef8340f00d5cb0420894f9dc2d72992 Mon Sep 17 00:00:00 2001
From: kkolinko
Note: There is a tradeoff between using compression (saving
+ your bandwidth) and using the sendfile feature (saving your CPU cycles).
+ If the connector supports the sendfile feature, e.g. the NIO connector,
+ using sendfile will take precedence over compression. The symptoms will
+ be that static files greater that 48 Kb will be sent uncompressed.
+ You can turn off sendfile by setting useSendfile attribute
+ of the connector, as documented below, or change the sendfile usage
+ threshold in the configuration of the
+ DefaultServlet in the default
+ conf/web.xml or in the web.xml of your web
+ application.
+