Details
-
Type:
New Feature
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Beta2
-
Fix Version/s: EE-2.0.0.GA, 2.0.2
-
Component/s: ACE-Components, Framework
-
Labels:None
-
Environment:ACE
Description
ACE components have numerous javascript and CSS dependencies. Each is currently resulting in a separate GET, which drastically slows page load. We should find a means of coalescing these requests into a smaller number of GET requests.
Combined all the ACE CSS files into one CSS file, and updated the Meta classes to use that one instead of the individual CSS files. Testing showed it working in most browsers except IE. The defered initialised server side tabSet was not showing up properly, until mousing over it. I noticed the inline @import statements, and remembered something about some browser needing them at the top of the file, which they no longer were, when concatenated. Some website optimisation tutorials said not to use @import, so I just commented out the imports and put the references right in the Meta class. For CSS files that were then empty, I didn't put a reference to combined.css in them, and only put the @import reference. Probably unnecessary. For files that had anything else, I included both in the Meta. This then worked in IE 7.
scratchpads/ICE-6698
Subversion 24394
/ossrepo/icefaces2/branches/icefaces-2.0.x-maintenance/
Subversion 24417
trunk
Subversion 24447