Tomcat Compression Does Not Add a Content-Encoding: gzip in the Header

后端 未结 5 1171
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-13 11:05

I am using Tomcat to compress my HTML content like this:



        
5条回答
  •  旧巷少年郎
    2020-12-13 11:35

    Have a look at http://sourceforge.net/projects/pjl-comp-filter/.

    Other custom solutions may have memory leaks.

    Also, if you are using mod_jk then you are certainly not using the 8080 connector (which supports compression) for those requests.

提交回复
热议问题