ICEfaces
  1. ICEfaces
  2. ICE-7044

ace:tabSet use DOM difference don't compare don't update element sub-tree (cacheStatically attribute)

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.1-Beta, 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 2
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      Components may wish to statically cache content in the browser. Currently, to accomplish this, components need to structure the content so that it will DOM difference to nothing, and so not be updated. There are two problems with this: firstly that this would be dynamic caching, in that the contents might change so a static representation is not enforced. Secondly, assuming that nothing has changed, we have maximised redundant processing of both rendering and DOM differencing. A more efficient way to do this is to render that content once, the first time, and then subsequently not render that content at all, and tell the DOM differencing to not operate on the sub-tree of content, and to treat it as not changed. The component and application would have to ensure that no ancestor element changed, or else everything would then still be updated, but improperly, as it was incompletely rendered.

        Issue Links

          Activity

            People

            • Assignee:
              Mark Collette
              Reporter:
              Mark Collette
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: