| Article: |
Two Servlet Filters Every Web Application Should Have | |
| Subject: | Tomcat-Coyote already has GZIP-Support | |
| Date: | 2003-11-22 01:35:44 | |
| From: | anonymous2 | |
|
Response to: Tomcat-Coyote already has GZIP-Support
|
||
| But this is only for static resources, isn't it? | ||
Showing messages 1 through 2 of 2.
-
Tomcat-Coyote already has GZIP-Support
2003-11-22 02:57:09 anonymous2 [View]
I don't see why this would be only for static resources.. see http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/coyote.html (attribute "compression") -
Tomcat-Coyote already has GZIP-Support
2003-11-22 08:38:17 anonymous2 [View]
You are right, it says that "If the content-length is not known and compression is set to "on" or more aggressive, the output will also be compressed.". Since the content-length should always be known for static resources, I assume they are indeed talking about content generated by servlets.


