[richfaces-issues] [JBoss JIRA] Created: (RF-5616) Create application-specific JavaScript and CSS assembly files.
Alexander Smirnov (JIRA)
jira-events at lists.jboss.org
Thu Jan 8 19:17:04 EST 2009
Create application-specific JavaScript and CSS assembly files.
--------------------------------------------------------------
Key: RF-5616
URL: https://jira.jboss.org/jira/browse/RF-5616
Project: RichFaces
Issue Type: Feature Request
Reporter: Alexander Smirnov
Assignee: Alexander Smirnov
Priority: Minor
Fix For: 3.3.1
Although loading of the just few CSS and JavaScript files with LOAD_xxx_STRATEGY=ALL significant reduces a number of network requests, these files are too huge ( up to 500kb ). Because most of the real world applications uses just a subset of the entire RichFaces components library it makes sense to create application-wide assembly, with the only necessary scripts and styles.
Ideas:
1) It should be Maven plugin ( ant task is optional ), what parses all web application pages and extracts list of the RichFaces components references.
2) Because all RichFaces components keeps information about referenced resources in the renderer, that tool is able to extract that information and assembly application-specific files.
Initial limitations:
1) Parce XML pages only. Parsing of the JSP format is more difficult, thus it could be postponed for the next releases.
2) This is compilation-time utility only.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list