Pre-compile UI

On large pages, there is considerable time the first time a page is loaded. Sometimes the first user will get a timeout.

There seems to be a compile of the UI occurring.

Is there a way to pre-compile UI on application/tomcat/container startup to avoid any user experience issues on startup.



Can you give more precisions where so much time is lost (to get a timeout) ? Hard to believe that this is UI related.
If you have no tool to do it, you can give a try at XRebel, quite a nice solution for such problems.