Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.2
-
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
- depends on
-
ICE-5329 Provide more granular control of DOM updates
- Closed
Very similar to
ICE-5329and ICE-6601.