The idea is to try to save only the xobjects which were modified or new xobjects. This would help a lot to mitigate the save part of XWIKI-2874 for use cases where a tiny part of the document is modified (like just adding or removing some user from a group). In practice, it means keeping track of updates made to BaseObject like we do with XWikiDocument or attachments, and when saving the document only save "dirty" xobjects. |