Replies: 1 comment
-
Hey! I think you're talking about the query cache feature. The documentation describes how to adjust the size of the query cache:
Does that help you? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I could be mistaken but it seems tinydb remembers the last search or maybe returns the same result if nothing about the query or database has changed.
I was wondering if there was a way to set the number of searches "remembered". Between 10 - 20 would speed up my application very significantly as it is the same 10-20 searches that happen in random order in a relatively large database (2000 docs or so). I realize I can save results, maybe in another table or in memory or something, however I wanted to know if there was a built in feature. Even more ideally if there was a setting that let me put in an arbitrary value for searches remembered.
Beta Was this translation helpful? Give feedback.
All reactions