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

Added caching mechanism #121

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

Eruvaer74
Copy link

As described in issue #74 (Optimization) the query is always select * from table which means that you always load thousands of models in bigger projects. In many cases, however, the data is not constantly updated so that the chart remains unchanged. For this purpose I have implemented a simple caching mechanism.

Just add a unique caching key and the number of seconds the data should remain in the cache.

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

Successfully merging this pull request may close these issues.

1 participant