SYSTEM INFO:
Obsidian version: 1.12.7
Installer version: 1.12.7
Operating system: Windows 11 Home 10.0.26200
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 4
Plugins enabled: 4
1: Kanban v2.0.51
2: Chronos Timeline v3.6.3
3: QuickAdd v2.12.0
4: Git v2.38.2
RECOMMENDATIONS:
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
Additional information
For investigation, I tried the following :
Disabling Internet didn’t solve this issue, so it’s probably unrelated.
@dmantisk In your case, the difference if explainable with the HDD. The first time that you run Obsidian, you read it from hard drive, the second time the OS uses cached copies in RAM.
Oh that’s odd. Could you please confirm you get less than 7s loading time with these 4 plugins installed on a new blank vault, after rebooting your computer, on Windows 11 ? What loading time do you get, so that I know what to aim for ?
The new blank vault is on a SSD, located in C:\Users\[USERNAME]\Documents\Obsidian. It’s not over the network, and for this new blank vault, I’m not using a third party sync system.
For my main vault, I’m using SyncThing to sync to my iPad and to my Android phone.
If I turn off internet, I still get that long loading time after rebooting PC, so issue is probably unrelated to internet.
A few hypothesis I’m going to check this afternoon :
Issue with Windows Defender antivirus ?
Issue with Obsidian cache ? (is there some cache I could delete without data loss ?)
@WhiteNoise : So I think I’ve identified the root cause of this issue.
When “Real time protection” is turned off in Windows Defender, Obsidian vault boots instantly after a PC boot/reboot.
No idea if it’s a change recently introduced by Windows, anyway I don’t remember having such slow loading time in Obsidian before.
I’ve tested on my main vault, and boot time goes from 13s to less than 1s after a PC boot/reboot after disabling real-time protection in Windows Defender.
Possible solution :
Add Obsidian vault to exclusions list of Windows Defender (which probably isn’t a good idea at all).
Oh, wow. This started happening a week or so ago for me. When Obsidian starts, it’d say
Plugin “fix-require-modules” is taking long to load.
With nothing to say why in the DevTools console… So, I was stressing about it potentially happening due to one of my CodeScript Toolkit scripts, doing a bunch of changes to try and make it better…
Well, I just added my Obsidian folder to Windows Defender’s exclusions and it no longer happens. I’m not going to leave it like that, but it at least puts my mind at ease that it’s Windows shenanigans and not an issue with my Obsidian setup itself.
My 2500 note vault with 30-40 plugins (thoughtfully and carefully selected/riced) turned on was taking 40-50 seconds to cold start. Down to 3-4 seconds after setting the exclusion in windows defender.
I was accepting that it was taking this long as just a fact of life. Thanks for this thread, and I imagine that there are enough windows users that this should be on a wiki or sticky somewhere as public consumption. **** Windows.