Re: Small varnish 1.1 test with openrealty and joomla.

2007-07-31 Thread Dag-Erling Smørgrav
[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

Re: Re: Small varnish 1.1 test with openrealty and joomla.

2007-07-31 Thread eculp
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.

Re: Small varnish 1.1 test with openrealty and joomla.

2007-07-31 Thread Dag-Erling Smørgrav
[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

Re: Re: Small varnish 1.1 test with openrealty and joomla.

2007-07-31 Thread eculp
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

Re: Small varnish 1.1 test with openrealty and joomla.

2007-07-31 Thread Dag-Erling Smørgrav
[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

Re: Small varnish 1.1 test with openrealty and joomla.

2007-07-31 Thread Ricardo Newbery
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

Small varnish 1.1 test with openrealty and joomla.

2007-07-30 Thread eculp
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