Right now we spend CPU&RAM to keep the built hash-string around, in case we want to hit it with purge_hash later on.
purge_hash was made so that you could purge content on a particular vhost without affecting other vhosts, but due to the wierd syntax, it is not very convenient for this purpose. The proposed change is to add a new purge primitive that takes a list of (header, regexp) pairs, for instance: purge Host host3 URL "\.jpg$" But once you think about it, you can do really wierd things: purge STATUS 404 purge Set-Cookie "USER=9348395" Comments welcome... Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@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. _______________________________________________ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc