You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Larry McCay (JIRA)" <ji...@apache.org> on 2016/08/12 15:36:22 UTC
[jira] [Commented] (KNOX-732) Knox does not recompress javascript
resources
[ https://issues.apache.org/jira/browse/KNOX-732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15419010#comment-15419010 ]
Larry McCay commented on KNOX-732:
----------------------------------
The following code from Apache Ambari shows one way to handle this: https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java#L745
> 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
> Fix For: 0.10.0
>
>
> 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)