nadja bester.
stream menu

← all stream notes

Obsidian, we need to talk about your cache

Obsidian
post details

published:

189 words
now that I've finally managed to free myself temporarily from Obsidian's lotus flower poison, I feel it's my public duty to share what worked for me with the occasionally unfortunate Obsidian user faced with the…

now that I've finally managed to free myself temporarily from Obsidian's lotus flower poison, I feel it's my public duty to share what worked for me with the occasionally unfortunate Obsidian user faced with the inexplicable crisis of the app hanging[1] on “loading cache” at startup.

after breaking my head over this for far too long (and the odd panic-induced existential attack), here's what worked for me (when literally nothing else would): backing up + renaming local IndexedDB folder = fresh storage + rebuilt vault index.

on Windows (sorry Mac users!), the folder is here: %APPDATA%\obsidian\IndexedDB

  1. close Obsidian completely
  2. copy entire IndexedDB folder to a separate backup
  3. ~~back up that backup~~
  4. ~~back up that backup backup~~
  5. ~~back up that backup's backup's backup~~[2]
  6. rename your original folder (eg just add 'backup' and the date)
  7. reopen obsidian and let it rebuild the index

if disabling your community plugins doesn't resolve the hang, rebuilding your database might well do the trick—did for me! idk what caused the issue and I REALLY wish I did so I can prevent it in future, but it does seem to be a known issue with Obsidian 🤷‍♀️

notes

  1. like, forever, even when threatened with certain death—cos markdown files, like cockroaches, will outlive us all! ↩︎

  2. but seriously, you are making backups right ↩︎