[ https://issues.apache.org/jira/browse/WICKET-5392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13802805#comment-13802805 ]
Martin Grigorov commented on WICKET-5392: ----------------------------------------- IMO the flush for the resources is not really needed these days. I think it is a workaround for some obsolete issue with Firefox version that is fixed in newer versions. I remember a Wicket user needing to disable the flushing of the headers exactly for a case where the response is an image and the browser is Firefox. I'm not sure whether it is a bug in Jetty's GZipFilter classes. I also think it should not try to do anything if the application flushes the response earlier. > Responses for package resources cannot be compressed > ---------------------------------------------------- > > Key: WICKET-5392 > URL: https://issues.apache.org/jira/browse/WICKET-5392 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 6.11.0 > Reporter: Martin Grigorov > Attachments: WICKET-5392.patch > > > Applying Jetty's GZipFilter in web.xml works only for the page content but > doesn't for any AbstractResource. > The problem is that > org.apache.wicket.request.resource.AbstractResource#flushResponseAfterHeaders > flushes the headers and GZipFilter cannot do anything after this. -- This message was sent by Atlassian JIRA (v6.1#6144)