I am faced with a challenge of improving the page load time for my application pages. A typical page consists of a static Header and dynamic Body content and static Footer.
The header has a static Menu which is basically a richfaces provided menu component. On analysis it is found that this menu request takes awfully lot of time to execute.
I could think of these option to improve the performance.
1. Implement frames, with header and body and two separate frames. The body frame content alone will be loaded each time a menu item from header is selected. But this has other issue, where any popups in the body frame will be aligned to that frames only which should not happen. Also the header will always be displayed with only the body content scrollable. This is not desired.
2. Make Ajax request on click of a menu item in header. The entire body content will then be rendered through ajax response. This I suppose also has performance impact as ajax processing takes time.
Any new suggestions or comments on the above options will be of great help.
Joined: Apr 16, 2008
Image processing takes time for large or many images. If you remove all images from the page, the page load time should decrease significantly.
Joined: Jun 26, 2002
Frames can cause problems, and even moreso on the JSF platform.
One thing that can be a big help is to ensure that large invariant items are loaded separately and cached on the client.
Customer surveys are for companies who didn't pay proper attention to begin with.