Is your feature request related to a problem? Please describe.
Currently autosave calls are debounced by 30 seconds. This means they will only happen once you stop typing for 30 seconds. That can be after a very long time if one is continuously typing. In the meantime the editor will always indicate unsaved changes. It would be nice to save changes faster.
Describe the solution you'd like
On the client side:
- Write the file when you stop typing for more than a second.
- Write the file at most every 5 seconds
- Write the file when there are changes at least 10 seconds after the changes were made.
On the server side:
- Actual saves are only performed every 10 seconds. Maybe cache the content in the meantime and only write it out then.
Is your feature request related to a problem? Please describe.
Currently autosave calls are debounced by 30 seconds. This means they will only happen once you stop typing for 30 seconds. That can be after a very long time if one is continuously typing. In the meantime the editor will always indicate unsaved changes. It would be nice to save changes faster.
Describe the solution you'd like
On the client side:
On the server side: