[varnish] renaming varnish concepts...

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Jan 28 21:36:19 CET 2009

In message <75cf5800901280825w50d09916r12ece84c832eb27b at mail.gmail.com>, Paras 
Fadte writes:

>Why is it not possible to purge a URL from CLI for a particular host ?

You can enter a ban for it.

Prior to the new code in -trunk, you need to use "purge.hash" and
construct an appropriate regexp.

With the new code, which will possibly be in 2.0.3, you can express
it sensibly:

	purge req.url ~ "some_regexp" && req.http.host ~ "some other regexp"

But we cannot do an object lookup, so we can not reclaim the storage
of those objects immediately.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-misc mailing list