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

Allow _ and - in keys #9

Merged
merged 2 commits into from
Feb 25, 2021
Merged

Allow _ and - in keys #9

merged 2 commits into from
Feb 25, 2021

Conversation

wch
Copy link
Member

@wch wch commented Feb 24, 2021

Closes rstudio/shiny#3306.

This allows - and _ to be used in cache keys.

I could imagine it being useful to allow users to allow any string to be used for cache_mem(). Then it would act as a general key-value store with pruning.

cc: @vspinu

@wch wch merged commit 5613943 into master Feb 25, 2021
@wch wch deleted the validate-key branch February 25, 2021 16:43
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.

Do not restrict memoryCache keys to digits and numbers
1 participant