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

Improve speed by caching the last few dataview queries #2484

Open
MaxMoldmann opened this issue Nov 21, 2024 · 0 comments
Open

Improve speed by caching the last few dataview queries #2484

MaxMoldmann opened this issue Nov 21, 2024 · 0 comments
Labels
feature-request New feature or request.

Comments

@MaxMoldmann
Copy link

Is your feature request related to a problem? Please describe.
My fault with 1500+ notes is loading Dataview queries slower and slower.

Describe the solution you'd like
One potential solution would be #1221 or to cache the results of the last few query runs and then serve them from cache if they are only a few minutes old. Add an option to manually run a query again - in case I added a new note and want it to show up despite the cache.

Describe alternatives you've considered
A more difficult solution would be a cache with an invalidation strategy, where Dataview keeps track of the last few changes in Links or Tags and then only serves a query from the Cache if the entry is not affected by recent changes.

@MaxMoldmann MaxMoldmann added the feature-request New feature or request. label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant