ICEfaces
  1. ICEfaces
  2. ICE-6655

Add parameter to make hidden history iframe inclusion configurable

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2-EE-GA_P02
    • Fix Version/s: EE-1.8.2.GA_P03
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      -
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description

      The user has a scalability concern and would like to optimize portal application load performance by removing the hidden blank iframe that is used to support back/forward browser history. For example, if 30000 users at 3000 different locations open a page with 10 ICEfaces portlets, the addition of 300,000 potentially unneeded iframes may degrade performance. Removing this iframe should not affect portlet functionality since navigation is not as expected in a portal environment.

        Activity

        Hide
        Mircea Toma added a comment -

        Changed core and component code generating iframes dynamically to use pseudo URLs, this actually simplified alos the code since the URLs don't have to be resolved anymore.
        Introduced 'com.icesoft.faces.disableBrowserHistoryTracking' parameter to allow the disabling of back button detection, this also avoids having the history iframe from requesting pages from the server.

        To avoid having the history iframe pointing '.....xmlhttp/blank' URL the following context parameter needs to be added to web.xml file:

        <context-param>
        <param-name>com.icesoft.faces.disableBrowserHistoryTracking</param-name>
        <param-value>true</param-value>
        </context-param>

        Show
        Mircea Toma added a comment - Changed core and component code generating iframes dynamically to use pseudo URLs, this actually simplified alos the code since the URLs don't have to be resolved anymore. Introduced 'com.icesoft.faces.disableBrowserHistoryTracking' parameter to allow the disabling of back button detection, this also avoids having the history iframe from requesting pages from the server. To avoid having the history iframe pointing '.....xmlhttp/blank' URL the following context parameter needs to be added to web.xml file: <context-param> <param-name>com.icesoft.faces.disableBrowserHistoryTracking</param-name> <param-value>true</param-value> </context-param>
        Hide
        Mircea Toma added a comment -

        When the history tracking is disabled the client (bridge) will not detect when the back button is used. So navigating back will bring up the page corresponding to the previous URL but with the content that the page had when loaded. Any content change that the previous page suffered due to any AJAX or push interaction is not restored.
        When history tracking is enabled and the back button is pressed the client (bridge) will fetch automatically the current content corresponding to the previous URL and apply that to the page.

        Show
        Mircea Toma added a comment - When the history tracking is disabled the client (bridge) will not detect when the back button is used. So navigating back will bring up the page corresponding to the previous URL but with the content that the page had when loaded. Any content change that the previous page suffered due to any AJAX or push interaction is not restored. When history tracking is enabled and the back button is pressed the client (bridge) will fetch automatically the current content corresponding to the previous URL and apply that to the page.
        Hide
        Ken Fyten added a comment -

        This needs to be tested using IE6 with HTTPS configured as well.

        Show
        Ken Fyten added a comment - This needs to be tested using IE6 with HTTPS configured as well.
        Show
        Mircea Toma added a comment - It seems I've done the test in the past: http://jira.icefaces.org/browse/ICE-5123?focusedCommentId=27421&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_27421

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Tyler Johnson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: