Conditional purging possible?

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Sep 13 22:51:55 CEST 2007


In message <46E9798D.2040902 at redhat.com>, Warren Togami writes:
>http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/repodata/
>
>If repomd.xml is a cache miss, I want all other files in this directory 
>to be purged from the cache.  Is it possible for VCL to do this?

No.

First because we don't have a concept of directories, to Varnish
all we have is a URL string.

But second, and more importantly, because we don't have acess to anything
but the current object.

-- 
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