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
Cache direct queries and objects #1944
Comments
@ravinderk Will we be able to clear this cache with a button similar to our "Refresh Reports" button? Users very often want to see the latest data accurately reflected pretty much everywhere in WP Admin. I love things to be able to load more quickly for sure, but users will want accurate data reporting as well. |
@mathetos Cache will automatically get flush when an update occurs in form, donor, and donation. Currently, cache logic is limited to donations and donor only. I will ask you to review when PR will be ready then tell me if you still need cache flush button. |
@DevinWalker Closing this PR for now. I will reopen this if I will find any issue related to it. |
Issue Overview
Direct queries made with `$wpdb', Give_Donor and Give_Payment do not cache automatically. We can cache them to improve performance.
For example, Donor related queries currently are uncached.
( I will update this after some more research )
Similar #2121
Todos
The text was updated successfully, but these errors were encountered: