[varnish] renaming varnish concepts...

Ricardo Newbery ric at digitalmarbles.com
Wed Jan 28 11:28:47 CET 2009

On Jan 28, 2009, at 1:11 AM, Poul-Henning Kamp wrote:

> 1.  Purge vs. Ban
> -----------------
> The CLI and VCL commands are named "purge", but they don't, they
> add a ban to the list of bans.
> I would actually like to rename purge to ban and add a real purge
> function that gets rid of the current object (ie: one found in the
> cache) and possibly its "Vary:" siblings.
> Purge does sound like it will be gone, whereas "ban" better explains
> what happens when we use the delayed regexp checks.
> Obviously, if I co-opt "purge" to mean something different, backwards
> compat is not possible, and all your purge scripts and VCLs with
> purge facilities will break.

Can you explain what is the effective difference between a real purge  
and a ban?  Would both still kill all the Vary siblings?  Other than  
possibly releasing the memory quicker, I'm not sure why I should  
care   :-)


More information about the varnish-misc mailing list