On Mar 20, 2014, at 1:11 PM, Tomasz Kuzemko <tom...@kuzemko.net> wrote:

> An alternative solution would be to implement an additional layer similar to 
> how Varnish provides "ban lists". The name is a little misleading and refers 
> to banning content from being served from the cache. In a nutshell, Varnish 
> keeps a list of bans which can be regexes. Each cache hit is then checked 
> against all _newer_ bans and reconsidered as a miss in case of match.


Agreed. And such a layer can (and probably should be) implemented as a plugin. 
Or alternatively, you can have a plugin that keeps meta data around what is 
being written to the cache, and “regex” purge based on that. Either way, it 
allows us to keep the core cache lean and mean.

— Leif

Reply via email to