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

Use signals for clearing cache #78

Open
eshaan7 opened this issue Mar 18, 2021 · 0 comments
Open

Use signals for clearing cache #78

eshaan7 opened this issue Mar 18, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@eshaan7
Copy link
Member

eshaan7 commented Mar 18, 2021

Currently, we just call the same clear cache helper functions from different places like admin view, template views.

It would be a better approach to connect to the SQLAlchemy signals (for example, an on_update) to dispatch such cache clear methods.

@eshaan7 eshaan7 added the enhancement New feature or request label Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant