[
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)
{
configuration.add(SymbolConstants.GZIP_COMPRESSION_ENABLED,
"false");
}
> Add ability to turn off GZIP compression easily, for both static assets and
> dynamic page renders
> ------------------------------------------------------------------------------------------------
>
> Key: TAP5-445
> URL: https://issues.apache.org/jira/browse/TAP5-445
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.1.0.0
> Reporter: Fernando
> Assignee: Howard M. Lewis Ship
> Fix For: 5.1.0.0
>
>
> 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.