[
https://issues.apache.org/jira/browse/RANGER-2220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16621209#comment-16621209
]
Csaba Koncz commented on RANGER-2220:
-------------------------------------
Here is the promised patch: [https://reviews.apache.org/r/68770/]
It is quite large as it includes RequireJS optimizer source.
Unfortunately I could thoroughly test it only on version 0.7.0 (the one
included in HDP 2.6.5).
For the master branch I only loaded the UI and checked that there are no
RequireJS errors (did not have a compatible backend to check the functionality).
> Admin UI loads slowly because of many small JavaScript files
> ------------------------------------------------------------
>
> Key: RANGER-2220
> URL: https://issues.apache.org/jira/browse/RANGER-2220
> Project: Ranger
> Issue Type: Bug
> Components: admin
> Affects Versions: 1.1.0
> Reporter: Csaba Koncz
> Assignee: Dhaval Rajpara
> Priority: Minor
>
> The Admin UI web page loads slowly after login (~10 seconds or more,
> depending on network conditions)
> This is due to the ~140 small JavaScript files that need to be downloaded
> before the UI can be presented to the user.
> Compressing/concatenating (=minifying) JS resources and downloading them in a
> single step can improve the situation.
> Prototyped a solution for version 0.7 (using RequireJS Optimizer), will try
> to port it to the master version.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)