ICEfaces
  1. ICEfaces
  2. ICE-3905

optimize DocumentStore.save calls

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8DR#1
    • Fix Version/s: 1.8RC1, 1.8
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces, compressDOM
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description


      DocumentStore.save is called twice during user input when compressDOM is enabled, first in applyBrowserDOMChanges and again at the end of the cycle. See ICE-3618.

        Activity

        Hide
        Ted Goddard added a comment -

        DocumentStore.cache(Document document) now keeps the document in memory until a call to save(). This allows applyBrowserDOMChanges to leave the DOM in memory for later processing.

        Note that a sequence of cache() calls must always be followed by a save() call on the same request for the compression to take effect.

        Show
        Ted Goddard added a comment - DocumentStore.cache(Document document) now keeps the document in memory until a call to save(). This allows applyBrowserDOMChanges to leave the DOM in memory for later processing. Note that a sequence of cache() calls must always be followed by a save() call on the same request for the compression to take effect.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: