Announcement Announcement Module
Collapse
No announcement yet.
gzip & memcache requests/responses Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • gzip & memcache requests/responses

    Hi,

    I'm having an problem enabling gzip on Jetty with Spring.
    It seems to work with default Servlets provided by Jetty, but on Spring servlets there is no compression.
    Using the following configuration:
    Code:
      <filter>
        <filter-name>GzipFilter</filter-name>
        <filter-class>org.eclipse.jetty.servlets.GzipFilter</filter-class>
      </filter>
      <filter-mapping>
        <filter-name>GzipFilter</filter-name>
        <url-pattern>/*</url-pattern>
      </filter-mapping>
    Would be very thankful if someone knows this issue and got a solution.

    There is another thing I wanted to find out.
    Anyone know whether it is possible to memcache a compressed response?
    This would be very helpful if there would be some annotation on the controller to be able to cache the response on request, including gzip support.
    This would reduce the bandwidth AND cpu usage.

    Thanks
Working...
X