[
https://jira.jboss.org/jira/browse/RF-1941?page=com.atlassian.jira.plugin...
]
Przemyslaw Jaskierski commented on RF-1941:
-------------------------------------------
Nick,
Thanks for looking at this. Your results are good because you have "ALL" load
strategy for RF scripts and Style. Set it to default and try this on a page which contains
a lot more than one RF component (AFAIR demo site very often has +-1 element per page,
because it's demoing it's use, it's not a reliable test case - it's
nothing compared to what you'd expect from a real-world application).
The "ALL" load strategies are not very suitable in real-world environment,
because these loads +-200 kB to cold caches for a first-time visitor (and are added
automatically to EVERY page, even if it doesn't have any RF component).
Improve performance of RF-enabled pages using
http://developer.yahoo.com/performance/rules.html
-----------------------------------------------------------------------------------------------
Key: RF-1941
URL:
https://jira.jboss.org/jira/browse/RF-1941
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Przemyslaw Jaskierski
Assignee: Nick Belaevski
Priority: Critical
Fix For: 3.1.x, 3.3.0
Attachments: Results for livedemo.jpg, screenshot-1.jpg
RF-1717 has been closed without addressing some great optimization opportunities
described by Steve Saunders in his book. In short, these rules are here:
http://developer.yahoo.com/performance/rules.html. Sticking to these rules _really_
helps.
As Wim reported here:
http://jira.jboss.org/jira/browse/RF-1717#action_12395166, the
http://developer.yahoo.com/performance/rules.html#js_bottom helps a lot. It's a little
bit confusing seeing this bug closed without addressing this (yes I know that this would
require a general approach, that's why I report it here). Having a page rendering time
of few seconds on a decent PC is not a good situation...
I would strongly encourage to take stab at this, because there is a lot of other
components that would benefit of this. This would make your product better.
--
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