incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Kapoor (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-218) Install Combo-Handler On HMC Webserver To Drastically Speed Up Page Load Times
Date Thu, 10 May 2012 21:48:49 GMT
Varun Kapoor created AMBARI-218:
-----------------------------------

             Summary: Install Combo-Handler On HMC Webserver To Drastically Speed Up Page
Load Times
                 Key: AMBARI-218
                 URL: https://issues.apache.org/jira/browse/AMBARI-218
             Project: Ambari
          Issue Type: Bug
    Affects Versions: ambari-186
            Reporter: Varun Kapoor
             Fix For: ambari-186


As mentioned at https://issues.apache.org/jira/browse/AMBARI-214, not having a combo-handler
installed (while still using a locally hosted copy of YUI) makes our initial page load significantly
slower.

As a part of resolving this issue, http://www.yuiblog.com/blog/2010/05/27/yui3-intro-to-offline/
should be looked at, to instantiate our YUI() object in html/bootstrapJs.htmli by passing
in a config object that at least has the 'combine' flag set, like so: 

{combine:1}

That page also provides a link to http://new.davglass.com/files/yui/combo/, which gives a
rather clear description of how to use 'minify' to implement our combo-handler, so great inspiration
may be derived from thence.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message