Skip to content

Remove items with regex? #20

@onli

Description

@onli

For granular cache invalidation it's useful to have a middle road option between removeAll() and removeItem(key), and that's removeThose(regexp). So that I can remove all the items with a prefix, like 'imagecache_%'.

It would help avoid having to create multiple caches. But I understand that given the various backends the feature might be cumbersome to implement.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions