[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #18754 [Tor Sysadmin Team]: Please configure and enable mod_deflate for onionoo.torproject.org on omeiense



#18754: Please configure and enable mod_deflate for onionoo.torproject.org on
omeiense
-----------------------------------+-----------------
     Reporter:  karsten            |      Owner:  tpa
         Type:  task               |     Status:  new
     Priority:  Medium             |  Milestone:
    Component:  Tor Sysadmin Team  |    Version:
     Severity:  Normal             |   Keywords:
Actual Points:                     |  Parent ID:
       Points:                     |   Reviewer:
      Sponsor:                     |
-----------------------------------+-----------------
 Context: So far, the Jetty process running on port 8080 where Apache was
 forwarding requests was previously deflating responses using the following
 filter:

 {{{
   <filter>
     <filter-name>GzipFilter</filter-name>
     <filter-class>org.eclipse.jetty.servlets.GzipFilter</filter-class>
     <init-param>
       <param-name>mimeTypes</param-name>
       <param-value>text/html,text/xml,text/plain,application/json</param-
 value>
     </init-param>
     <init-param>
       <param-name>excludedAgents</param-name>
       <param-value>gozilla,traviata</param-value>
     </init-param>
     <init-param>
       <param-name>minGzipSize</param-name>
       <param-value>2048</param-value>
     </init-param>
   </filter>

   <filter-mapping>
     <filter-name>GzipFilter</filter-name>
     <url-pattern>/*</url-pattern>
   </filter-mapping>
 }}}

 But I fear that this caused problems in combination with Apache's
 `mod_cache` module (see #18663 for details if you care a whole lot).  I
 want to try moving all response post-processing to Apache, which would
 include compression and caching.

 Can we build something similar as the Jetty filter above (not necessarily
 the exact same thing) using Apache's `mod_deflate` module?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18754>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs