[varnish] Re: [varnish] renaming varnish concepts...

Ricardo Newbery ric at digitalmarbles.com
Wed Jan 28 12:25:56 CET 2009

On Jan 28, 2009, at 2:44 AM, Poul-Henning Kamp wrote:

> In message, Ricardo Newbery writes:
>>> 1.  Purge vs. Ban
>>> -----------------
>> 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   :-)
> The sematics I would like to have:
> expire:
> 	Can be done to an object found as cache hit.
> 	The object is marked as expired at this point in time, but
> 	may still be eligble for grace service.
> purge:
> 	Can be done to an object found as cache hit.
> 	The object is gone as of this moment, and will never be
> 	seen again.
> ban:
> 	Put a ban on an object, which takes effect if it is subject
> 	to a cache hit later on.
> I would like expire & purge to have an option of also acting on all
> other "Vary:" versions of an object.
> I would also like a bans to have an option as to what they do to
> banned objects: expire, purge (and option for taking all Varys.
> expire & purge would only be available from VCL.
> ban would be available from VCL or CLI.

Sorry, I'm still unclear...

Right now, doesn't purge_url also "ban" all Varys?

If so, then why would it matter whether a PURGE request resulted in a  
real "purge" or a "ban"?


More information about the varnish-misc mailing list