-
Notifications
You must be signed in to change notification settings - Fork 15
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
Create ability for "child" caches #18
Comments
Good idea, thanks for the suggestion! We actually do something similar internally (creating child caches by country/locale). The only reason I'm a bit hesitant to add the logic to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think a nice feature would be to allow you to generate a "child"
memcache
client, similar to howbunyan
does it (example). The main benefit to this would be to more easily differentiate and maintain prefix/key namespaces, for example:This would also be useful for setting
setDefaults
on the children that would extend the parent values, but allow you more fine grained control for different caches.I'd be more than happy to take a crack at this if you think it's worthwhile pursuing.
The text was updated successfully, but these errors were encountered: