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

Improving cache to only bust on change to SALT #3

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

wking-io
Copy link
Contributor

@wking-io wking-io commented Jan 4, 2024

Cache is now only busted by two methods:

  1. Cache reaches max size (1000 records)
  2. Cache SALT changes

There is now no time limit and the cache will bust on deploy where the CRUNCHY_CACHE_SALT env variable is auto incremented.

@wking-io wking-io merged commit a6b352f into main Jan 4, 2024
1 of 3 checks passed
@wking-io wking-io deleted the willking/adding-unlimited-time-cache branch January 4, 2024 14:01
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.

1 participant