VCL purge

Dag-Erling Smørgrav des at linpro.no
Mon Mar 3 17:19:02 CET 2008


André Øien Langvand <andre at idium.no> writes:
> Yep, and as mentioned in the first mail, I've tried to use both
> req.url and req.http.host in diffrent combinations in purge_hash()
> without any luck.

purge_hash() wants the object's hash string, which is something like
req.url + '#' + req.host.  If you only have one virtual host, just use
purge_url() instead.

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no



More information about the varnish-misc mailing list