add a more resilient cache system with a global cache for each note from path
This commit is contained in:
@@ -49,7 +49,7 @@ watch(mode, async (newMode) => {
|
||||
}
|
||||
|
||||
newContent.value = initialContent
|
||||
const { saveCacheNote } = prepareNoteCache(newSha)
|
||||
const { saveCacheNote } = prepareNoteCache(newSha, newContentPath)
|
||||
await saveCacheNote(encodeUTF8ToBase64(content), {
|
||||
editedSha: newSha,
|
||||
path: newContentPath
|
||||
|
||||
Reference in New Issue
Block a user