obsidian-frontmatter-links icon indicating copy to clipboard operation
obsidian-frontmatter-links copied to clipboard

Plugin is causing huge delay in obsidian startup

Open vinispira opened this issue 1 year ago • 4 comments

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

vinispira avatar Mar 06 '23 12:03 vinispira

Here is the corresponding thread in the forum: https://forum.obsidian.md/t/stuck-on-loading-cache/42253/48

tim-hilde avatar Mar 06 '23 16:03 tim-hilde

Confirmed issue for me as well. After disabling this plugin and refreshing Obsidian, my startup time returned to normal.

beingskyler avatar Apr 01 '23 17:04 beingskyler

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.

czottmann avatar Jun 12 '23 15:06 czottmann

I think this might be the same issue as #18

elzik avatar Jun 15 '23 13:06 elzik