how to flush all cache

Per Andreas Buer perbu at linpro.no
Mon Apr 21 20:34:52 CEST 2008


Yes - but the semantics are the same. There are many ways to skin a cat 
- if you are into stuff like that.

Personally I like "url.purge .*" because it clearly states its a regular 
expression.


Per.

Pavel Pragin skrev:
> Hello,
> 
> Do you think there is a diff between these two:
> 
> url.purge .*
> 200 9
> PURGE .*
> 
> url.purge .
> 200 8
> PURGE .
> 
> Thanks
> 
> 
> -----Original Message-----
> From: varnish-misc-bounces at projects.linpro.no
> [mailto:varnish-misc-bounces at projects.linpro.no] On Behalf Of Per
> Andreas Buer
> Sent: Monday, April 21, 2008 11:23 AM
> Cc: varnish-misc at projects.linpro.no
> Subject: Re: how to flush all cache
> 
> Well, as far as I can see the following entry would answer your question
> 
> perfectly; 
> http://varnish.projects.linpro.no/wiki/FAQ#HowcanIforcearefreshonaobject
> cachedbyvarnish
> 
> It explains both purging via the command line and HTTP PURGE.
> 
> I agree that the documentation is a bit on the sparse side. Help is 
> always welcome. :-)
> 
> Per.
> 
> 
> Pavel Pragin skrev:
>> Hello,
>>
>> I looked at the FAQ and its insufficient. I would love to contribute
> to
>> it once I get this working. I have been contributing to the
>> Amanda project and I am a believer in open source and taking the time
> to
>> help others. Varnish is great , but documentation is inadequate to say
>> the least.
>>
>> Thanks
>>
>>
>> -----Original Message-----
>> From: varnish-misc-bounces at projects.linpro.no
>> [mailto:varnish-misc-bounces at projects.linpro.no] On Behalf Of Per
>> Andreas Buer
>> Sent: Monday, April 21, 2008 11:00 AM
>> Cc: varnish-misc at projects.linpro.no
>> Subject: Re: how to flush all cache
>>
>> Hi Pavel.
>>
>> Please consult the FAQ before asking on the mailing list.
>>
>> Thanks!
>>
>>
>> Pavel Pragin skrev:
>>> Hello,
>>>
>>> Thanks for that. Where is this run from? Using http request or from
>> the
>>> admin port?
>>>
>>> Thanks
>>>
>>>
>>> -----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 10:44 AM
>>> To: Pavel Pragin
>>> Cc: varnish-misc at projects.linpro.no
>>> Subject: Re: how to flush all cache 
>>>
>>> In message
>>> <DF3A409993D9D940BA8B02F0C396CF8A0150098F at mailserver.form-studios.co
>>> m>, "Pavel Pragin" writes:
>>>> Hello,
>>>>
>>>> Is there a way to flush all cache from varnish without restarting
> it?
>>> 	url.purge .
>>>
>> _______________________________________________
>> varnish-misc mailing list
>> varnish-misc at projects.linpro.no
>> http://projects.linpro.no/mailman/listinfo/varnish-misc
> 
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at projects.linpro.no
> http://projects.linpro.no/mailman/listinfo/varnish-misc




More information about the varnish-misc mailing list