Re: Frontend caching to multiple sites

2008-11-05 Thread Alecs Henry
5, 2008 at 5:58 AM, Espen Braastad [EMAIL PROTECTED] wrote: Alecs Henry wrote: I want to set up varnish as a reverse proxy/cache to multiple customer sites. As in, I have 10 different customers, each with its own web site (domains) with their own necessities, compression, cookie

TCP_HIT header

2008-11-05 Thread Alecs Henry
Hi guys, Is there a variable that I can print on the response header that will give me the cache lookup result such as TCP_HIT or TCP_MISS? Thanks!! Alecs ___ varnish-misc mailing list varnish-misc@projects.linpro.no

Re: TCP_HIT header

2008-11-05 Thread Alecs Henry
available than what is in vcl(7)? Or anywhere else for that matter. Thanks, Alecs On Wed, Nov 5, 2008 at 3:10 PM, Per Buer [EMAIL PROTECTED] wrote: Alecs Henry skrev: Hi guys, Is there a variable that I can print on the response header that will give me the cache lookup result

Re: TCP_HIT header

2008-11-05 Thread Alecs Henry
(preferably a different one) in vcl_miss. You need no variables. The code in vcl_hit will be run for a hit and vcl_miss will be run for a miss. Check out the getting started guide, the FAQ and the VCL-page on Wiki if you seek documentation. Thats all there is, at the moment. Per. Alecs Henry skrev

Re: Varnish Error 503 Service Unavailable

2008-11-11 Thread Alecs Henry
Hi there! I have the exact same problem, and it comes and goes as it pleases.. I'm testing varnish with different backends (different customers sites in the same instance) and every once in a while it locks up at the same place (the X-Forwarded-For header on varnishlog) for any site. Not the

What to do when the backend sends no caching information?

2008-12-12 Thread Alecs Henry
Hi All, In testing varnish in different situations, I came accross a backend that sends no caching information in its responses, no Expires, cache-control or anything. Ok, I thought, I'll just set the TTL on that object (namely an html page) in VCL. Well, turns out varnish may be setting the ttl

Backend response

2008-12-12 Thread Alecs Henry
Hi! Is there a place where I can alter the backend response before it is inserted into the cache? Thanks! Alecs ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Varnishncsa

2008-12-12 Thread Alecs Henry
Thanks Dag, I must have missed it! Alecs On Fri, Dec 12, 2008 at 7:08 PM, Dag-Erling Smørgrav d...@des.no wrote: Alecs Henry alecshe...@gmail.com writes: What about cookies? Can varnish log cookie values? Or does it fit in the same problem as the first message? Varnish can and does log

Re: Backend response

2008-12-12 Thread Alecs Henry
Hi Per, I'm looking into changing the headers all right! Where do I do that in VCL? I wanted to try to set some cache control headers before the object was put into varnish cache. Does that even make sense? Thanks! Alecs On Fri, Dec 12, 2008 at 7:20 PM, Per Buer pe...@linpro.no wrote: Alecs

Re: What to do when the backend sends no caching information?

2008-12-12 Thread Alecs Henry
looking into varnishlog I can see the pass, even after the hash is shown correctly. Any pointers? THanks! Alecs On Fri, Dec 12, 2008 at 7:21 PM, Per Buer pe...@linpro.no wrote: Hi, Alecs Henry wrote: Well, turns out varnish may be setting the ttl all right (I do it in vcl_fetch

Weird log entries

2009-02-09 Thread Alecs Henry
Hi guys, I was wondering if any of you has seen the following log entries when using varnishncsa: 127.0.0.1 - - [00/Jan/1900:00:00:00 +] (null) (null) (null) (null) - - - Those are coupled with: 127.0.0.1 - - [09/Feb/2009:19:39:46 +] (null) (null) (null) 200 39678 - - I can see an object

Re: Weird log entries

2009-02-09 Thread Alecs Henry
Hi Nick, I forgot to say... It's varnish-trunk. But I saw it on both varnish 2.0.1 and 2.0.2. Alecs On Mon, Feb 9, 2009 at 6:20 PM, Nick Loman n...@loman.net wrote: Alecs Henry wrote: Those are coupled with: 127.0.0.1 - - [09/Feb/2009:19:39:46 +] (null) (null) (null) 200 39678 - - I

Re: Weird log entries

2009-04-06 Thread Alecs Henry
in order to figure this stuff out. This is the varnish package for debian (2.0.3-2_amd64) all with HTTP/1.1 requests. Thanks! Alecs On Mon, Feb 9, 2009 at 5:29 PM, Alecs Henry alecshe...@gmail.com wrote: Hi Nick, I forgot to say... It's varnish-trunk. But I saw it on both varnish 2.0.1