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

add loadStale cache option to load already expired cache data #251

Merged
merged 4 commits into from
Sep 17, 2024

Conversation

blackjid
Copy link
Contributor

Closes #250 with an additional cacheOptions.loadStale to load the current cached state even if it is expired.

@blackjid blackjid force-pushed the add_load_stale_cache_option branch from 0093634 to 3b8a06c Compare September 16, 2024 12:46
@blackjid blackjid changed the title add loadStale cache option to load alread expired cache data add loadStale cache option to load alread expiredy cache data Sep 16, 2024
@blackjid blackjid changed the title add loadStale cache option to load alread expiredy cache data add loadStale cache option to load already expired cache data Sep 16, 2024
@rolodato rolodato requested a review from kyle-ssg September 16, 2024 12:47
@kyle-ssg
Copy link
Member

This is an excellent idea, @blackjid, thank you!

@kyle-ssg kyle-ssg merged commit 2f4bbbb into Flagsmith:main Sep 17, 2024
1 check passed
@kyle-ssg
Copy link
Member

Publishing now under [email protected]

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.

load cache value even if the ttl expired
2 participants