Main Region

Performance Question
1 answer | 313 views

Oct 24, 2013 04:18 +00:00

We do see a lag on loading a page with simple grid and 2panes (Center and East). I don't have a test page and the reason is you may not be able to replicate the same lag what we see in our server. But even if there is a lag, is there a way to load the next page in the following sequence :

  1. While moving from one page to another page or anytime refreshing a region, can FOEX generate all the required code by reading the meta data and then load or refresh the page ? In this way, the page/region doesn't blur out or show white space before the new one loads. This will atleast not show the performance issue on the screen. It will just be the browser cursor goes in circles and the page/region will be on the old one until the new page/region is ready to display. This will be a big help to hide the performance issues.



jaganbreddy Oct 24, 2013 16:12 +00:00 

Matt, I have enabled Caching on this app and you can also debug this page to see the delay in your server.

Even though I have enabled caching in Component settings, if I click on the Cache link at the APEX link at the bottom, it says no cache has been done. Why is that ?


Matt Nolan Oct 24, 2013 16:19 +00:00 

This is because you are using FOEX caching not standard APEX caching. You can see FOEX caching information in the APEX debug output when enabled.

You cannot currently use APEX caching since plugin AJAX request identifiers are session encrypted and there is no way to perform page caching at the session level. I have logged an enhancement request with the APEX dev team which is under review.

Oct 24, 2013 06:22 +00:00

The design you have suggested is similar to the APEX jQuery Mobile implmentation, however this is not currently available in FOEX. We are looking at different dynamic loading techniques for future versions of FOEX but there is no immediate workaround.

You may be interested to know that the FOEX demo environment is Oracle XE running on a small amazon instance (1 CPU core) in ireland.

However there are many factors that affect performance. Could you please do the following:

1) Please put the page in debug mode and send us the debug output for the page load and also the grid data AJAX load.

2) There is a caching option within the FOEX Settings plugin and within region plugins like the grid which should be enabled whereever possible in production. This caches the meta data for the grid so that it does not need to be read every time. Please test this feature and benchmark the load times before and after. Also understand that you do not want to cache mete data during development since you are making changes all the time.

Once the page is fetched there is also the HTML rendering time. We are upgrading to Ext JS 4.2.2 in the next major release of FOEX which has a significant reduction in HTML rendering time compared to the current 4.0.7 version which we are using.


You must log in or sign up to post questions and answers.