ServiceStack/ServiceStack — pull request #290 by jgeurts (2012-10-11 16:49:26+00:00)
Title: Add RemoveByPattern and RemoveByRegex to ICacheClient

Sorry about the problem with line endings. Although the diffs make this look like a massive change, it's really not. It just adds two methods to ICacheClient, to remove cache entries by pattern (supporting * and ? tokens) and by regex.

This allows a user to easily remove all cache entries that match a pattern. Eg. _cacheClient.RemoveByPattern("users/*");