-
Type: Sub-task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 7.4
-
Fix Version/s: 7.10
-
Component/s: Themes (deprecated)
-
Impact type:Configuration Change
-
Upgrade notes:
-
Sprint:nxNag Sprint 7.4.2, nxNag Sprint 7.4.3, nxNag Sprint 7.4.4, nxNag Sprint 7.4.5, nxNag Sprint 7.10.1
JS scripts are usually placed in the head tag, but should ideally be moved to the end of the body for page loading efficiency.
Problem is that some inline scripts need to stay inline for these scripts to be properly re-executed after Ajax refresh, and some RichFaces components assume that JS deps are included in the head (a4j:status for instance).
=> allow deferring this parsing to check impact on page speed, but do not enable it by default.
Behavior is controlled by a configuration property:
<component name="org.nuxeo.ecm.platform.webapp.base.properties"> <extension target="org.nuxeo.runtime.ConfigurationService" point="configuration"> <property name="nuxeo.jsf.deferJavaScriptLoading">true</property> </extension> </component>
- depends on
-
NXP-18309 Fix drop area highlight on import popup
- Resolved
-
NXP-17563 Experiment with resources ordering
- Resolved
- is duplicated by
-
NXP-18291 Defer parsing of JavaScript in JSF pages
- Resolved
- is required by
-
NXP-18117 Place CSS resources before all JavaScript resources in the JSF page
- Resolved
-
NXP-14205 Fix SafeEdit when AJAX tab enabled
- Resolved
-
NXDOC-725 Add documentation for page resources target
- Resolved
-
NXP-18290 Reorder CSS and JS in the page
- Resolved
-
NXP-18293 Experiment with async attribute
- Resolved