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 invalidation considerUow
problem
#19633
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When handling cache invalidation, it's crucial to set the
considerUow
parameter to true. If this parameter is not set correctly, the cache gets removed immediately. However, if there are other HTTP requests for related cache before the unit of work is complete, the cache might remain in a dirty state.We should do this for all invalidators such as; PermissionGrantCacheItemInvalidator, TenantConfigurationCacheItemInvalidator etc.
The text was updated successfully, but these errors were encountered: