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
Poul-Henning Kamp wrote:
> If any of you have time, your comments to this outline for degraded
> mode and prefetching would be appreciated.
Looks like a great start to me. Is there an approximate timeframe (very
rough is OK) for when we might see these features?
> Prefetch
>
>
> Prefe
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Per
Andreas Buer
Sent: Monday, April 21, 2008 11:23 AM
Cc: varnish-misc@projects.linpro
Well, as far as I can see the following entry would answer your question
perfectly;
http://varnish.projects.linpro.no/wiki/FAQ#HowcanIforcearefreshonaobjectcachedbyvarnish
It explains both purging via the command line and HTTP PURGE.
I agree that the documentation is a bit on the sparse side. H
Poul-Henning Kamp wrote:
> In message <[EMAIL PROTECTED]>, Jon Drukman writes:
>> i'm trying to rewrite all incoming URLs to include the http host header
>> as part of the destination url. example:
>>
>> set req.url = regsub(req.url, "^", "/site/" + req.http.host);
>
> You can't do it directly
In message <[EMAIL PROTECTED]
m>, "Pavel Pragin" writes:
>Will this have same effect:
>varnishadm -T 127.0.0.1:6082 url.purge "."
yes
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never
Will this have same effect:
varnishadm -T 127.0.0.1:6082 url.purge "."
thanks a lot
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Poul-Henning Kamp
Sent: Monday, April 21, 2008 11:09 AM
To: Pavel Pragin
Cc: varnish-misc@projects.linpro.no
Subject: Re: h
In message <[EMAIL PROTECTED]
m>, "Pavel Pragin" writes:
>Hello.
>
>Does this mean its cleared?
>[EMAIL PROTECTED] varnish]# telnet localhost 6082
>Trying 127.0.0.1...
>Connected to localhost.
>Escape character is '^]'.
>url.purge .
>200 8
>PURGE .
>
>
>I don't see any change in the varnish stats?
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.
Tha
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Hello.
Does this mean its cleared?
[EMAIL PROTECTED] varnish]# telnet localhost 6082
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
url.purge .
200 8
PURGE .
I don't see any change in the varnish stats?
Thanks
-Original Message-
From: [EMAIL PROTECTED] [mailto:[
Hello,
Thanks for that. Where is this run from? Using http request or from the
admin port?
Thanks
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Poul-Henning Kamp
Sent: Monday, April 21, 2008 10:44 AM
To: Pavel Pragin
Cc: varnish-misc@projects.linpro.n
In message <[EMAIL PROTECTED]
m>, "Pavel Pragin" writes:
>Hello,
>
>Is there a way to flush all cache from varnish without restarting it?
url.purge .
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer | BSD sin
Hello,
Is there a way to flush all cache from varnish without restarting it?
Thanks
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
Hello,
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?
Thanks
-Original Message---
In message <[EMAIL PROTECTED]
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
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAI
Hello,
How can I purge all the cache using this?
Thanks
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Poul-Henning Kamp
Sent: Monday, April 21, 2008 8:05 AM
To: Pavel Pragin
Cc: Sven Tietje; varnish-misc@projects.linpro.no
Subject: Re: url.purge
In
In message <[EMAIL PROTECTED]
m>, "Pavel Pragin" writes:
>I am pretty sure there is:
>282624 .. bytes allocated
>5368426496 .. bytes free
>
>
>Does this purge all cache for beta.manyone.net?
>PURGE / HTTP/1.1
>Host: beta.manyone.net
No, it only purges
I am pretty sure there is:
282624 .. bytes allocated
5368426496 .. bytes free
Does this purge all cache for beta.manyone.net?
PURGE / HTTP/1.1
Host: beta.manyone.net
Thank a lot
Pavel
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAI
In message <[EMAIL PROTECTED]
m>, "Pavel Pragin" writes:
>I am getting this now. Its says nothing to purge?
>
>[EMAIL PROTECTED] ~]# telnet localhost 80
>Trying 127.0.0.1...
>Connected to localhost.
>Escape character is '^]'.
>PURGE / HTTP/1.1
>Host: beta.manyone.net
>
>HTTP/1.0 404 Not Found
That
I am getting this now. Its says nothing to purge?
[EMAIL PROTECTED] ~]# telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
PURGE / HTTP/1.1
Host: beta.manyone.net
HTTP/1.0 404 Not Found
Server: Varnish
Retry-After: 0
Content-Type: text/html; charset=utf-8
Co
In message <[EMAIL PROTECTED]
m>, "Pavel Pragin" writes:
>Hello,
>
>Can you please help me put it the right order. I will be very great
>full.
Put the purge stuff first.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer
Hello,
Can you please help me put it the right order. I will be very great
full.
Thanks
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Poul-Henning Kamp
Sent: Monday, April 21, 2008 7:49 AM
To: Pavel Pragin
Cc: Sven Tietje; varnish-misc@projects.linpro
In message <[EMAIL PROTECTED]
m>, "Pavel Pragin" writes:
>I tried the whole example it still doesn't work.
>Here is my whole vcl file:
Order is important here...
Your first vcl_recv {} sends the PURGE request to pipe before the
second copy ever gets at it.
> sub vcl_recv {
[...]
>
I tried the whole example it still doesn't work.
Here is my whole vcl file:
backend default {
set backend.host = "127.0.0.1";
set backend.port = "9090";
}
sub vcl_recv {
if (req.request == "GET" && req.url ~
"\.(gif|jpg|swf|css)$") {
lookup;
In message <[EMAIL PROTECTED]
m>, "Pavel Pragin" writes:
>directions in this link:
>http://varnish.projects.linpro.no/wiki/VCLExamplePurging
>
>I added these lines to my VCL configuration file and restarted Varnish:
>sub vcl_hit {
>if (req.request =3D=3D "PURGE") {
>set obj
>>> isn`t it implemented in varnish-1.1?
>>
>> No, sorry.
>>
>> I can't remember if it's in 1.2
http://varnish.projects.linpro.no/browser/branches/1.2/include/cli.h
looks like that. am i right?
>ok, i`ll give svn-trunk a try. will it be possible to pruge all documents
of
>a specified host and
Hello,
Please help me get Purging working. I am really stuck. I followed the
directions in this link:
http://varnish.projects.linpro.no/wiki/VCLExamplePurging
I added these lines to my VCL configuration file and restarted Varnish:
sub vcl_hit {
if (req.request == "PURGE") {
In message <[EMAIL PROTECTED]>, "Sven Tietje
" writes:
>so, i try to purge all documents for a host by doing
>varnishadm -T 127.0.0.1:6082 url.purge "#http://mydomain.de/#$";
url.purge only operates on the URL part of the request, not on the
Host: header part.
If you need to select on both hos
hi,
i have got a problem with url.purge :D
i already have searched the mailing list archive and the svn and i have
found
http://varnish.projects.linpro.no/browser/trunk/varnish-cache/include/cli.h?
rev=1816
so, i try to purge all documents for a host by doing
varnishadm -T 127.0.0.1:6082 url.pu
On Apr 20, 2008, at 10:33 PM, Poul-Henning Kamp wrote:
> In message <8240BA9F-
> [EMAIL PROTECTED]>, Ricardo N
> ewbery writes:
>
>>> I see in rfc2616.c that this behavior is intentional. Varnish
>>> apparently assumes a "clockless" origin server if the Expires date
>>> is not in the future and
In message <[EMAIL PROTECTED]>, Ca
lle Korjus writes:
>Varnish looks fine until it's had abour 1,5 million requests, then
>we can see the kswapd0 and kswapd1 start working and load average
>rises to about 200 and the machine gets totally unresponsive. Top
>shows a lot of cpu beeing spent on i/o wa
32 matches
Mail list logo