Skip to content
Snippets Groups Projects

CacheEvict optimization

Merged Daniel Gerhardt requested to merge (removed):cacheevict-optimization into master

Currently, in a lot of places the whole cache is cleared when only a single entry changes. Even completely unrelated caches are sometimes unnecessarily cleared.

This PR adds key and condition elements to the annotations and replaces the allEntries element where possible.

There is still room for additional optimizations but these require some refactoring. For now, the related code locations have been commented on to keep track of them.

The last commit of this PR might be obsoleted later by GH16. But for now it should massively increase the effectiveness of answer statistics caching.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply