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

Key prefix with named caches #118

Closed
KarelCemus opened this issue Aug 25, 2017 · 0 comments · Fixed by #126
Closed

Key prefix with named caches #118

KarelCemus opened this issue Aug 25, 2017 · 0 comments · Fixed by #126
Labels

Comments

@KarelCemus
Copy link
Owner

Moved from another PR to separate ticket. For more details, see the original post.

If two named caches were configured to point to the same Redis host, port, and database, then it would be possible to have key collision.

Is it possible to add an option for named cache to implicitly prepend the namespace to the key?

akin to play2-memcached
https://github.com/mumoshu/play2-memcached/blob/master/plugin/src/main/play_2.6/com/github/mumoshu/play2/memcached/MemcachedCacheApi.scala#L35

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

Successfully merging a pull request may close this issue.

1 participant