-
Type: Sub-task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 7.4
-
Fix Version/s: 7.10
-
Component/s: Themes (deprecated)
-
Tags:
-
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
CSS and JS resources are served bundle by bundle (each page specifies ~ 4 bundles), it would be better to be able to serve all the JS resources and all the CSS resources of a given page at once.
This requires adding a new wro servlet to serve these resources, and change the dependency between nuxeo-theme-styling and nuxeo-web-resources-wro (for now theme depends on resources-wro, but that should be the contrary for the wro model to be aware of the notion of page)
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.combinePageResources">true</property> </extension> </component>
- is required by
-
NXP-17647 Fix random JavaScript errors detected by webdriver tests
- Resolved