Cache Purging via Mgmt Port vs. PURGE via HTTP

Poul-Henning Kamp phk at
Wed Jul 23 22:46:13 CEST 2008

In message <C4ACE25B.8D57%lukas.loesche at>, "Loesche, Lukas, ZD-Scoyo" writes:

>When I purge using the management
>port I only transmit the url.purge ^/path/to/file$. What will happen when
>the same /path/to/file exists on more than one HTTP Host? Will it purge both

If you use purge.url yes.

If you use purge.hash, you can specify a regexp for the full hash string
including the Host: header (or any other fields you have put in it).

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