obsidian-frontmatter-links
obsidian-frontmatter-links copied to clipboard
Plugin is causing huge delay in obsidian startup
I discovered that this plugin is the only responsible for a huge delay in the startup of Obsidian in my computer. I deleted the plugin and the startup went back to normal again. Hoping for an update to fix the issue, this is a very important plugin for me! thanks
Here is the corresponding thread in the forum: https://forum.obsidian.md/t/stuck-on-loading-cache/42253/48
Confirmed issue for me as well. After disabling this plugin and refreshing Obsidian, my startup time returned to normal.
The delay is caused by the call to app.metadataCache.initialize()
in https://github.com/Trikzon/obsidian-frontmatter-links/blob/786b0c6a1333bced05def193c3f951c5ecfd9338/src/main.ts#L16-L18
I'm not sure why it needs to be initialized explicitly, it was my understanding that Obsidian does that on its own, I'm just saying commenting out this one call makes the delay disappear. No idea about side effects, though.
I think this might be the same issue as #18