Re: forget an object in vcl_fetch

2009-11-27 Thread Tollef Fog Heen
]] David Birdsong | sub vcl_fetch { |  if (!beresp.X-Super-Hot-File) { |    unset obj.cacheable; |  } | } | | ok, i tried this and was not allowed to modify this attribute. You can set it to true or false, but you can't unset it. | just out of curiosity i tried 'pass' instead but that

Google's new SPeeDY low latency web proposal

2009-11-27 Thread Mario Carvalho
Dear all, have you already seen the new low latency web protocol Google is proposing, SPDY?.. it looks promissing but it seems to need a specially crafted webserver/reverse cache to support it. I think it is worth taking a look and start a thread about it. It aims to address web latency

Re: vcl_timeout and fetch

2009-11-27 Thread Tollef Fog Heen
]] ll | so,is there any ways to set the varnish to fetch the cache and flash it | automatic ? I have a webserver,it has so many pages ,I want to varnish | can fetch all pages one time and keep it a long time .and after the | ttl,it can flash it automatic .Is it some ways to accomplish this ?

Re: varnish bottleneck?

2009-11-27 Thread Lars Jørgensen
Den 27/11/2009 kl. 02.12 skrev ll: there are some problem .many of url's record can't be find in the varnishlog .and there are no marked by the varnish eg X-Cache: MISS in the Response Headers . I had post this problem in this maillist .it's nothing about pipe or pass about no marked. Well,

Re: http format error

2009-11-27 Thread Tollef Fog Heen
]] Tobias Wilken | I've got a strange behavior of varnish and wordpress. After installing | and configuring wordpress without problems, I get a Error 503 Service | Unavailable ... Error on the front end and a http format error in | the varnishlog, when I try to change the admin password of

Re: varnish bottleneck?

2009-11-27 Thread Tollef Fog Heen
]] ll | if (req.http.host ~www.abc.cn){ | lookup; | } | it's well. Varnish can cache everything .but some function of the | website is unable .eg POST. So I put the POST judge before the HOST | .like that : | if (req.request == POST){ | pipe; | } | if (req.http.host ~www.abc.cn){ | lookup; | } |

Re: vcl_timeout and fetch

2009-11-27 Thread Tollef Fog Heen
]] ll Hi, | If the backend takes a long time to generate an object there is a risk | of a thread pile up. In order to prevent this you can enable | grace. This allows varnish to serve an expired version of the object | while a fresh object is being generated by the backend. | | how can it have

Re: http format error

2009-11-27 Thread Tobias Wilken
It means Varnish has problems dissecting the response from the backend. As you can see in the log: 17 LostHeader b Content-Length: 20 Try compiling Varnish with a higher maximum number of HTTP headers, just increasing the limit to 64 or so should be ok. Great, thanks. That works

Handling 304 and header refresh

2009-11-27 Thread Daniel Rodriguez
Hi, I'm having a problem with a varnish caching implementation in our sites. We have some big and heavy loaded sites, and one of the things we are used to do, is to return a 304 from an object but with some modifications to the object headers. This works cool with our current caching systems

req.hash and fetch

2009-11-27 Thread Henry Paulissen
Hey all, One of my website has more only the request url who are unique. Content inside the website depends on the url you request (.com|.co.uk|etc) and the browser language. So at first request we set a cookie with the language preferences (so we don't have to check it every time).

RE: Handling 304 and header refresh

2009-11-27 Thread Caunter, Stefan
-Original Message- From: varnish-misc-boun...@projects.linpro.no [mailto:varnish-misc-boun...@projects.linpro.no] On Behalf Of Daniel Rodriguez Sent: November-27-09 8:35 AM To: varnish-misc@projects.linpro.no Subject: Handling 304 and header refresh Hi, I'm having a problem with a