Skip to content

Ability to utilize namespaces #1

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:*")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions