[New plugin] Make your Obsidian start up super fast!

This plugin looks really great! Unfortunately when I tried to get it running, I ran into an error: “Internal error opening backing store for indexedDB.open”

Obsidian gave me the option to restart in restricted mode with plugins turned off. Even doing that I ran into the same error, but leaving Obsidian turned off for a few minutes then restarting it works and I’m able to turn plugins back on. That of course, defeats the point since I can’t start Obsidian with plugins and see the start time improvement in the first place. So it’s not possible for me to use the plugin, I assume because of some expected interdependency between some of my plugins when one is loaded after the other. It’s weird that the error persists even in restricted mode, though.

Here’s my list of enabled plugins:

[
  "obsidian-emoji-toolbar",
  "footlinks",
  "folder-note-plugin",
  "periodic-notes",
  "darlal-switcher-plus",
  "reveal-active-file-button",
  "hotkeysplus-obsidian",
  "recent-files-obsidian",
  "obsidian-projects",
  "note-refactor-obsidian",
  "obsidian-footnotes",
  "obsidian-file-info-plugin",
  "calendar",
  "better-word-count",
  "waypoint",
  "folder-notes",
  "link-tree",
  "supercharged-links-obsidian",
  "obsidian-kanban",
  "multi-properties",
  "metadata-menu",
  "obsidian-icon-folder",
  "obsidian-list-callouts",
  "copilot",
  "copy-url-in-preview",
  "oz-image-plugin",
  "obsidian-image-toolkit",
  "dataview"
]

I don’t expect you to try to debug these or anything, just sharing in case any of these culprits pop up for anyone else. It would be great if the plugin had some sort of debugging tooling for ironing out what the issue could be, though Obsidian itself doesn’t provide any additional detail on the error screen.

It would be great to be able to use the plugin in the future though; great work and awesome that it seems to work well for others!

I wanted to try the plugin, and it caused my iconize plugin to crash, so I deleted lazy plugin loader, but somehow I still can’t reinstall iconize, and since then, my obsidian is lagging a lot (especially when dragging folders or notes), does anybody know why that might be ? And how to solve it ?

You can check the source code of the plugin. It’s a very simple plugin - all it does is call Obsidian’s built-in enablePlugin() and disablePlugin() methods. So if you remove it, there will be no lasting effects.

At a guess, it’s possible your Obsidian updated to the new 1.7.4 version at around the same time, and perhaps the issues you’re experiencing are related to that, rather than to removing this plugin?

1 Like

yes, seems to be that ! everything seems to be back to normal !
Thanks Alan

Excellent plugin. This seems to be the same/similar method as the FastStart script from a blog which I’ve used successfully for many months and really helped.

Glad to see a more refined UI.

That is exactly what this plugin was based on:

https://www.reddit.com/r/ObsidianMD/comments/1ejnxn5/psa_how_to_reduce_startup_loading_time_from_2_to/lgfy8l9/

OMG this is crazy… it starts up like a fresh toy. Love it.

1 Like

Lazy loader works great with Reminder plug-in. Once to do reminder is clicked as done, the Reminder plugin thinks it is still unchecked when I open any other machine as it is waiting to Sync (I use and love Obsidian Sync).

However, it keeps adding Sidbar Tabs that look as if the plugin was deleted. So, can the Lazy loader plugin also manage the creation of tabs with regard to delayed loading of the plugin

Put these plugins adding surplus tabs in ‘Instant’ loading mode. Alternatively, you can save a workspace and when all the vault is loaded, you load your usual workspace and the surplus tabs are gone.
(I like the Instant mode solution better, however, too many Instants would kind of defeat the purpose of using this plugin, right.)

While this plugin makes things better, it is still >5 minutes from launch to first edit. I’ve got 28K notes. Obsidian seems to max out the hard drive.

If I want to write a quick journal entry, I open Logseq first and start typing in a few seconds. Meanwhile, for long-form writing, Obsidian is loading in the background.

At least Lazy Plug-in gets me into text faster. I can bring up a task list after 15 seconds. I’m going to look at putting the vault on an SSD. The plug-in causing the most trouble is Omnisearch and Text Extractor.

15k notes here. Startup on Linux with SSD with a mediocre chip and16GB RAM takes less than one second.
I use several plugins that do indexing so I add some at short interval and the other at long.
Omnisearch is not one of them. With Omnisearch, you’re looking at some serious overhead, especially if you are wont to be bringing over or generating many changes for it to update on on startup.

2 Likes

Great plugin! It significantly speeds up Obsidian’s loading time, especially noticeable with larger vaults. Thanks, Alan, for your work! I had a similar experience with the plugin loading issue described by ltroj – the solution in the Lazy Loader settings fixed it. I’m curious how the plugin will perform with upcoming Obsidian updates, considering the performance improvements in recent versions. Hopefully, it will remain just as effective!

2 Likes

Awesome plugin, thank you

Thank you Alan for this amazing plugin

BEFORE Plugin (15,374ms)

AFTER Plugin (1,037ms)

2 Likes

Wow, that’s a great result! That genuinely makes the development time worthwhile :slight_smile:

EXCELLENT!! The plugin reduced 2/3 of the waiting time!! from 9 to 3 seconds!! great job!
Thank you!!

2 Likes