Skip to content

Ability to utilize namespaces #1

@jwoertink

Description

@jwoertink

I'm not sure how to do this, but it would be cool if the keys could be namespaced, and we had a way to get all of the values under a namespace..

cache.write("user:some_special_key") { user1 }
cache.write("user:some_special_key2") { user2 }

# returns 2 CacheItem records
cache.read_all("user:*")

# remove all cache under the `user` namespace.
cache.delete_all("user:*")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions