of commands starting
with purge
After a minute of testing:
varnishadm -T localhost:6082 \
'purge req.http.host == www.example.org req.url ~ /foo|bar/'
...neat.
varnishadm -T localhost:6082 'purge.list'
...even more neat :)
This is on varnishd 2.0.4, by the way.
--
Stig Sandbeck Mathisen
vcl_pipe {
set req.http.connection = close;
}
A comment have been added to sub vcl_pipe in the default VCL in trunk regarding
this issue, see around line 64 in:
http://varnish.projects.linpro.no/browser/trunk/varnish-cache/bin/varnishd/default.vcl
--
Stig Sandbeck Mathisen
Senior
page.
--
Stig Sandbeck Mathisen [EMAIL PROTECTED]
Redpill Linpro AS - Changing the Game
signature.asc
Description: Digital signature
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
.
I'll look at the points in this thread, test a bit, and update the
example. The plone.recipe.varnish template looks especially nice.
Are there any good reasons not to run Plone with the CacheFu (or
CacheSetup) product installed? Would a non-CacheFu example be of any
use?
--
Stig Sandbeck
access to run
varnishlog, to see details of your client and backend traffic, as
well as what happens with your request through VCL.
--
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no
On Thu, 24 Apr 2008 06:52:29 +0200, Stig Sandbeck Mathisen [EMAIL PROTECTED]
said:
If one request goes is directed to pipe, and the connection is
kept open, other requests will go through the same connection
without being inspected touched by varnish. This is especially
visible after
On Wed, 16 Apr 2008 06:56:37 +, Poul-Henning Kamp [EMAIL PROTECTED]
said:
In message [EMAIL PROTECTED], Stig Sandbeck Mathisen writes:
* Read access to where you store your VCL files
No, the vcl files are read by the master process which does not drop
priviledge.
* Execute a C
)
* Read access to where you store your VCL files
* Execute a C compiler
* Write access to its cache directory, to store the compiled
configuration
* Write core dumps
...possibly more.
--
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
to revision^Wrelease 2617 of varnish trunk. :)
--
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
On Mon, 31 Mar 2008 20:10:06 +0200, Sascha Ottolski [EMAIL PROTECTED] said:
is there anything like a snapshot release that is worth giving it a
try, especially if my configuration will hopefully stay simple for a
while?
You could try using trunk. It seems fairly stable.
--
Stig Sandbeck
.
Does the absense of the header create problems?
--
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
sufficient detail of all request and response headers
transferred between the backend, varnish, and the client during that
transaction.
--
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no
://login.example.com
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=
...so you'll probably need to change that to match for Authorization
instead, to not cache these documents.
--
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
varnish-misc
called Authenticate:. It is not a substring match.
--
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
the
capture group to highlight, then.
I don't think identifier is available as a font-lock-mode colouring,
but function is. That may be better than keyword.
--
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http
to Apaches access
logs? Is it possible?
I've added a recipe for this to the FAQ, see
http://varnish.projects.linpro.no/wiki/FAQ#HowcanIlogtheclientIPaddressonthebackend
(nice long url)
--
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
interface and running 'url.purge *'. We'd like
to protect them (and us) from that if possible.
That's a good thought. :D
--
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman
Stig Sandbeck Mathisen [EMAIL PROTECTED] writes:
* http://www.example.com/KjempeStortPinnsvin
PURGE / HTTP/1.1
Host: www.example.com
I'm not at my best after just one cup of coffee, sory. This should be:
PURGE /KjempeStortPinnsvin HTTP/1.1
...of course. Same with the two others
need:
set req.http.connection = close;
in front of pipe, instead of the defaults. Especially if you do any
kind of URL rewriting.
--
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no
with M-x customize-group RET vcl RET
* Vcl Indent Level indicates the number of spaces used to indent to
the next level. Default 8
* Vcl Indent Tabs Mode indicates wether spaces can be replaced by
TAB characters when indenting. Default is nil, which means no
tabs.
--
Stig Sandbeck Mathisen
this:
sub vcl_recv {
# [...]
if (req.request != GET req.request != HEAD) {
if (req.request == PURGE) {
if (!client.ip ~ purge) {
error 405 Not allowed.;
}
lookup;
}
set req.http.connection = close;
pipe;
}
# [...]
}
--
Stig Sandbeck Mathisen
Fredrik Nygren [EMAIL PROTECTED] writes:
Better suggestions?
Why split the traffic at all, if only to collect it in the same
varnish instance?
--
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http
= close;
}
--
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
;
| }
|
`
You can manipulate headers received from the client (req.http.*), as
well as the request headers sent to the backend (bereq.http.*), object
headers retrieved from cache or backend (obj.http.*) and response
headers (resp.http.*) sent to the client in the same way.
--
Stig Sandbeck Mathisen
to exit this client is not to type quit, but rather
with the escape character '^]', followed by the command close, which
may also be abbreviated to c. For more information, see your
system's telnet(1) man page.
--
Stig Sandbeck Mathisen, Linpro
___
varnish
)
backend_round_robin rr {
Can you please clarify why the error comes. I tried different ways
to set it. But no luck. Also attaching the vcl FYR.
Which version of Varnish are you using?
--
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
Dag-Erling Smørgrav [EMAIL PROTECTED] writes:
[...] once Stig merges his changes to the Debian package metadata,
That's now done as well.
--
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http
Corin Langosch [EMAIL PROTECTED] writes:
How can I tell varnish to save the cached data to disk at shutdown?
That is not possible.
However, you can reconfigure Varnish at runtime, so there should be
little reason to shutdown a varnish process once it is in production.
--
Stig Sandbeck
your users
and varnish, so varnish can accelerate the http traffic. The pipeline
would look like this:
Duh Internet - https2http gw - varnish - http server
--
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
Aug 2007 10:23:26 GMT
Client-Peer: 209.85.51.151:80
Client-Response-Num: 1
Title: 404 Not Found
Alternatively, you specified a domain of someone else's web site.
Please don't.
--
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
varnish-misc
Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
Dingo [EMAIL PROTECTED] writes:
So its feasible to run Nginx as the server/load balancer and varnish
as the front end cache giving potentially a decent high speed/high
capacity design.
Yes, those two will complement eachother.
--
Stig Sandbeck Mathisen, Linpro
Dag-Erling Smørgrav [EMAIL PROTECTED] writes:
I intend to eventually modify varnishncsa to understand Apache
CustomLog format strings
Now, that's really high on the nice-to-have list. :D
--
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing
33 matches
Mail list logo