-
Notifications
You must be signed in to change notification settings - Fork 1
Invalidate flex fields cache on change #285
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
base: develop
Are you sure you want to change the base?
Invalidate flex fields cache on change #285
Conversation
|
@patsatsia I think is better to invalidate the related cache when this change, not remove the cache completely @saxix |
I agree @domdinicola I just pushed this working solution, it seems a bit tricky to invalidate the cache, but working on it currently |
c3d86d9 to
b657560
Compare
|
@patsatsia tests are failing |
b657560 to
9f4a10f
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #285 +/- ##
===========================================
- Coverage 96.33% 96.33% -0.01%
===========================================
Files 214 214
Lines 7857 7877 +20
Branches 790 793 +3
===========================================
+ Hits 7569 7588 +19
- Misses 159 160 +1
Partials 129 129 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Add two new methods "invalidate_pattern" and "invalidate_containing"
…ntaining" of CacheManager class
54b8328 to
4704221
Compare
…so on field deletion
AB#289999
Implement new methods for CacheManager class that identifies entries by patern and deletes them all on post save signal of FlexField class (for specific FieldSet)