simple-cache icon indicating copy to clipboard operation
simple-cache copied to clipboard

Remove items with regex?

Open onli opened this issue 5 years ago • 1 comments

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.

onli avatar Jul 31 '20 13:07 onli

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.93. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Jul 31 '20 13:07 issue-label-bot[bot]