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.
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.
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.
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.