Skip to content

Add ability to delete in bulk #4

Description

@jwoertink

Redis doesn't support doing DEL prefix:key:*, so you have to do a whole scan thing. This shard already does that for flush which is nice, but that blows out your whole cache. I need to do something more like delete_all("posts:#{current_user}:*").

At the moment LuckyCache proper doesn't have a contract for this, so whatever gets added would also need counterparts in the other stores. I just don't know what that looks like yet.

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