Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching for obsidian-update #48

Open
kdmsnr opened this issue Jul 4, 2023 · 2 comments
Open

Caching for obsidian-update #48

kdmsnr opened this issue Jul 4, 2023 · 2 comments

Comments

@kdmsnr
Copy link
Contributor

kdmsnr commented Jul 4, 2023

It might be beneficial to cache the results of obsidian-update. I might tackle this when I find some time.

@licht1stein
Copy link
Owner

Excellent idea, thanks!

@Dima-369
Copy link

How about adding a new defvar which stores the last modified time of the obsidian-directory? If it is the same, exit out of the (obsidian-update) function early.

I think this should be enough, or are there edge-cases where this would fail?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants