-
Notifications
You must be signed in to change notification settings - Fork 1
Experimental features
Clemens edited this page Aug 20, 2024
·
1 revision
Due to current performance limitations in Automerge, the load time of a webstrate with a long history can become very high. It is possible to flatten the history of a webstrate using the following method:
webstrate.archiveHistory()What happens, is that the Automerge-document representing the content of the webstrates replaced with a shallow copy. The original version is accessible in automerge.rootDoc.meta.archive. The shallow copy will not contain the edit history and is therefore faster to load.