[
http://jira.jboss.com/jira/browse/RF-1568?page=comments#action_12391181 ]
Alexander Smirnov commented on RF-1568:
---------------------------------------
For a implementation of the this feature, 2 additional context init parameters added.
org.richfaces.LoadStyleStrategy - to select JavaScript loading strategy.
org.richfaces.LoadScriptStrategy - same for a CSS files.
Possible values :
DEFAULT - load separate small files.
ALL - load aggregated libraries.
NONE - do not load any JavaScript or CSS files. It allow application developer to create
custom files, or place static files outside of default location.
Build for a aggregated files not yet implemented.
Insert scripts and styles for a components as a one aggregatet
library, instead of small separated for a each component.
------------------------------------------------------------------------------------------------------------------------
Key: RF-1568
URL:
http://jira.jboss.com/jira/browse/RF-1568
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.1.2
Reporter: Alexander Smirnov
Assigned To: Alexander Smirnov
Fix For: 3.1.3
For a performance reason, in the prodaction environment make sence to include one
JavaScript library and one CSS file for a all pages.
It can reduce number of the network requests for a page loading.
Also, for a portal environment, there files must be loaded by portal engine, to avoid
dublicates in the every portlet instance.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira