Apache compressing server communication
It's the other way around as usual. It's possible to compress the communication between Apache and a J2EE serve开发者_如何学JAVAr even though the client might not compressing the message?
Browser <- compressed or not -> Apache <- always compressed -> Jetty
Actually, as far as I know, AJP is always uncompressed. It's assumed that your web and application servers are "close" enough (in terms of network topology) to each other that compression is not useful, and just slows things down from the extra CPU processing.
If you're using HTTP between Apache and Jetty, then you can configure compression, yes, though I've not use Jetty and can't tell you how to configure that.
精彩评论