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

Invalidate cache when performing additional post operations #949

Merged
merged 1 commit into from Jul 12, 2023

Conversation

pupi1985
Copy link
Contributor

There are a few situations that were being missed when invalidating question caches:

  • Creating answers
  • Creating comments
  • Updating content of question
  • Updating content of answer
  • Updating content of comment

Having these cache invalidations set would allow users to configure longer cache periods.

@svivian svivian merged commit 99e6bb8 into q2a:bugfix Jul 12, 2023
@svivian
Copy link
Collaborator

svivian commented Jul 12, 2023

Thanks for this. My original thought was to balance cache hits with too many cache invalidations, but I think you're right this allows longer cache periods (and therefore more time saved overall).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants