Pavel Pragin ppragin at SolutionSet.com
Mon Apr 21 17:18:24 CEST 2008


Here is what I am trying to accomplish. We want to be able to clear all
varnish cache from the php application. It may be using a php function
or something. So far the only way to clear varnish cache has been to
restart Varnish. What would be the best way?


-----Original Message-----
From: phk at critter.freebsd.dk [mailto:phk at critter.freebsd.dk] On Behalf
Of Poul-Henning Kamp
Sent: Monday, April 21, 2008 8:10 AM
To: Pavel Pragin
Cc: Sven Tietje; varnish-misc at projects.linpro.no
Subject: Re: url.purge 

In message
<DF3A409993D9D940BA8B02F0C396CF8A014C17BD at mailserver.form-studios.co
m>, "Pavel Pragin" writes:

>How can I purge all the cache using this?

Then you need to use the more advanced hash.purge functionality,
I'm not sure if we have a cook-book example for that.


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

More information about the varnish-misc mailing list