This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.
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.
An IDE is no substitute for an Intelligent Developer.