Skip to content

Cache improvements #25

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

Merged
merged 7 commits into from
Oct 11, 2023
Merged

Cache improvements #25

merged 7 commits into from
Oct 11, 2023

Conversation

timacdonald
Copy link
Member

@timacdonald timacdonald commented Oct 6, 2023

  • Cache keys are now normalised before they enter the database, removing the need to do any expensive regex matching at read time.
  • Cache table is now indexed to optimize reads.
  • Cache keys are always shown by most interactions (hits + misses) and limited to 100 results.

Additionally, the date boundaries for all cards has been fixed.

@timacdonald timacdonald changed the title [WIP] Cache improvements Cache improvements Oct 6, 2023
@timacdonald timacdonald marked this pull request as ready for review October 9, 2023 03:59
@timacdonald timacdonald requested a review from jessarcher October 9, 2023 04:00
@taylorotwell taylorotwell marked this pull request as draft October 9, 2023 14:31
@taylorotwell
Copy link
Member

Drafting until @jessarcher reviews

@jessarcher jessarcher marked this pull request as ready for review October 11, 2023 04:14
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.

3 participants