You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sandeep More (JIRA)" <ji...@apache.org> on 2016/09/08 16:07:20 UTC

[jira] [Updated] (KNOX-732) Knox does not recompress javascript resources

     [ https://issues.apache.org/jira/browse/KNOX-732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandeep More updated KNOX-732:
------------------------------
    Attachment: KNOX-732.001.patch

This patch basically turns off the automatic content decompression by DefaultHttpClient. 
NOTE: The method is super confusing i.e. disableContentCompression() actually disables content decompression, checkout the javadocs: http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/client/HttpClientBuilder.html#disableContentCompression()  

> Knox does not recompress javascript resources
> ---------------------------------------------
>
>                 Key: KNOX-732
>                 URL: https://issues.apache.org/jira/browse/KNOX-732
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 0.10.0
>            Reporter: Sumit Gupta
>            Assignee: Sandeep More
>             Fix For: 0.10.0
>
>         Attachments: KNOX-732.001.patch
>
>
> When using the Ambari UI proxy service it is observed that the app.js file is about 7MB whereas it is much smaller (about 1MB) when the UI is not proxied by Knox. 
> A compression solution needs to be investigated. Possibly by adding a gzip compression handler or filter to jetty.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)