[zanata/zanata-server] 9f08d8: JSF performance improvements - https://github.com/...

GitHub noreply at github.com
Fri Aug 29 06:46:46 UTC 2014


  Branch: refs/heads/integration/master
  Home:   https://github.com/zanata/zanata-server
  Commit: 9f08d866ecfbeef0be5dd280a0831ff4bae24cf5
      https://github.com/zanata/zanata-server/commit/9f08d866ecfbeef0be5dd280a0831ff4bae24cf5
  Author: Carlos Munoz <chavo16 at hotmail.com>
  Date:   2014-08-29 (Fri, 29 Aug 2014)

  Changed paths:
    M pom.xml
    A zanata-war/src/main/resources/META-INF/richfaces/static-resource-mappings.properties
    M zanata-war/src/main/webapp-jboss/WEB-INF/web.xml
    M zanata-war/src/main/webapp/WEB-INF/template/banner.xhtml
    M zanata-war/src/main/webapp/WEB-INF/template/scripts.xhtml
    M zanata-war/src/main/webapp/language/language.xhtml
    A zanata-war/src/main/webapp/resources/script/jquery-2.0.3-min.js
    M zanata-war/src/main/webapp/tm/home.xhtml

  Log Message:
  -----------
  JSF performance improvements - https://github.com/zanata/zanata-server/pull/566

Squashed commit of the following:

commit 2e1df8385401f8cadb47d5c89096c5c8ad2fc0a4
Author: Carlos Munoz <chavo16 at hotmail.com>
Date:   Fri Aug 29 15:45:10 2014 +1000

    Manually import jquery in case richfaces doesn’t.

    This will not generate an extra request for the jquery resource, since it’s using outputScript, JSF is aware that it has already imported it.

commit 79e7aca7704052203ce08bba45a86839631f70f8
Author: Carlos A. Munoz <camunoz at redhat.com>
Date:   Thu Aug 28 17:12:34 2014 +1000

    JSF performance improvements

    - Enabled resource optimization which allows richfaces to compress and unify several of its javascript and css resources into a single request. This mode can be disabled by setting the project stage to ‘Development’ (see web.xml).
    - Switch several internally served javascript resources to use the JSF resource filter to allow for caching.
    - Replace Richfaces’ provided JSF jquery with a higher versioned one. This script is now back in the war file.
    - Remove unnecessary inclusions of the richfaces provided jquery library.
    - Reorganize some javascript resources to the bottom of the page per best practices.
    - Upgrade Richfaces libraries.




More information about the zanata-commits mailing list