This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Is there any method to compress responses sent through AJP connector? The default implementation of AJP connector does not seem to support compression as of now. I also need to ensure that all responses are compressed but NOT below a particular response size (say 200kb).
I have gone through the net and came up with following options:
1. Compress responses sent from AJP connector. (couldn't find anything, documentation for AJP connector does not mention compression anywhere)
2. Compress responses with Apache 228 modules.
3. Applying Servlet filters into the web application. (Can we identify if a response is to be compressed or not based on its size?