tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Falkenberg (JIRA)" <j...@apache.org>
Subject [jira] Commented: (TAP5-445) Add ability to turn off GZIP compression easily, for both static assets and dynamic page renders
Date Fri, 04 Dec 2009 15:20:21 GMT

    [ https://issues.apache.org/jira/browse/TAP5-445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785963#action_12785963

Gabriel Falkenberg commented on TAP5-445:

Just so that people finding this page via Google has something to copy/paste to turn off GZIP-compression
in their Tapestry 5 apps:

	    public static void contributeApplicationDefaults(MappedConfiguration<String, String>
	        configuration.add(SymbolConstants.GZIP_COMPRESSION_ENABLED, "false");

> Add ability to turn off GZIP compression easily, for both static assets and dynamic page
> ------------------------------------------------------------------------------------------------
>                 Key: TAP5-445
>                 URL: https://issues.apache.org/jira/browse/TAP5-445
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions:
>            Reporter: Fernando
>            Assignee: Howard M. Lewis Ship
>             Fix For:
> I have to report a huge regression because of Tapestry Compression.
> I just tried running with the latest tapestry and it worked just fine most of the time
( going against browsers ), but we interact with the Facebook proxy, and it looks like they
got totally confused with the tapestry compression support, thus they would only serve up
an error page.  Luckily, with Tapestry's new configuration override feature (thank you howard),
I was able to turn it off easily, and have my app working again.
> 	public void contributeHttpServletRequestHandler( OrderedConfiguration<HttpServletRequestFilter>
configuration ) {
> 		configuration.override( "GZIP", null );
> 	}
> So I wanted to report this regression, it might be the case that I'm the only one affected,
but we don't for sure, and probably people will never realize why it doesn't work.  I don't
know if any other issues might arise from tapestry-compression, but I will want to make sure
I can turn the feature off as I need to.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message