[EMAIL PROTECTED] writes:
sub vcl_fetch {
if (obj.http.Set-Cookie) {
insert;
}
}
You should strip the Set-Cookie header before inserting the object into
the cache:
sub vcl_fetch {
if (obj.http.Set-Cookie) {
remove obj.http.Set-Cookie;
}
}
(the insert is
Quoting James [EMAIL PROTECTED]:
[EMAIL PROTECTED] wrote:
I have a couple of questions:
1. Is the above the best way to cache dynamically generated CMS pages?
I'm trying to do something similar and it seems to be the
recommended way to cache pages even when cookies are present.
[EMAIL PROTECTED] writes:
Quoting Dag-Erling Smørgrav [EMAIL PROTECTED]:
The example you mention illustrates how to cache multiple virtual hosts
served by *separate* backends. If all your virtual hosts are on the
same backend, you shouldn't need to do anything.
That is what I thought so
Quoting Dag-Erling Smørgrav [EMAIL PROTECTED]:
[EMAIL PROTECTED] writes:
Quoting Dag-Erling Smørgrav [EMAIL PROTECTED]:
The example you mention illustrates how to cache multiple virtual hosts
served by *separate* backends. If all your virtual hosts are on the
same backend, you shouldn't
[EMAIL PROTECTED] writes:
Quoting Dag-Erling Smørgrav [EMAIL PROTECTED]:
Is Varnish passing the correct Host: header to Apache?
AFAIK, it is passing what I am/was telling it in default.vcl.
I'm not asking you to guess or speculate; I'm asking you to check your
logs. Varnish does *not* use
On Jul 31, 2007, at 10:16 AM, [EMAIL PROTECTED] wrote:
Quoting Dag-Erling Smørgrav [EMAIL PROTECTED]:
[EMAIL PROTECTED] writes:
Quoting Dag-Erling Smørgrav [EMAIL PROTECTED]:
The example you mention illustrates how to cache multiple
virtual hosts
served by *separate* backends. If all
I have set up varnish for a Joomla/OpenRealty site with a lot of
dynamic page generation and it seems to be working fine or I have
convinced myself that it is;)
I'm running the same site on another machine for comparison and
checking varnishstat, etc.
I only had to change