Re: Expires and Cache-Control stripped by varnish?

2009-11-18 Thread Ken Brownfield
I believe you should upgrade to 2.0.5 (or scan Varnish ticket #529 for a patch) which retains this and other headers in a 304 response. -- Ken On Nov 18, 2009, at 5:05 AM, Lars Jørgensen wrote: > Hi, > > Another one that I'm trying to work out at the moment. I have enabled > mod_expires in Ap

Re: Varnish/Plone css not found

2009-11-18 Thread Laurence Rowe
OK, from this I can see that you requested the url: http://parctechno.mediacommune.org:6081/ but have set the Zope virtual hosting to be http://parctechno.mediacommune.org/ (the port is missing). This means that the css is being requested on a different server (your apache instance). Change the vc

Re: Varnish/Plone css not found

2009-11-18 Thread Laurence Rowe
What are the response headers you see in Firebug? varnishlog output is also helpful. Laurence 2009/11/18 Fu Kite (Eric Labelle) : > Hi lawrence > > here are the import statements from the generated plone source: > > @import > url(Re: Varnish/Plone css not found
2009/11/17 Fu Kite (Eric Labelle) : > Hi > > I'm a total newb to varnish but here is my problem: > > When I connect to my plone site directly there is no problem however the > moment i use varnish none of the css loads and all that loads is the html... > pressing on plone's links to validate css re

Re: too much requests for varnish?

In message <4b0411ed.5020...@danielbruessler.de>, Daniel Bruessler writes: >Hi, > >we're using varnish for a newspaper-portal and see in the logfile that >about 1% of the requests are NOT done by varnish. That requests don't >get the special varnish-http-header like the "Age:" info. Check if these

too much requests for varnish?

Hi, we're using varnish for a newspaper-portal and see in the logfile that about 1% of the requests are NOT done by varnish. That requests don't get the special varnish-http-header like the "Age:" info. Is there a limit? Did anybody of you have that problem already? (we're using varnish 2.0.4 wit

Re: Saint mode

Hi, On Wed, Nov 18, 2009 at 02:52:39PM +0100, Anders Nordby wrote: > 2) How do use saint mode when backend fails to respond, covering > everything from no response/connection to backend just resetting the > connection? As far as my syslogging shows, connection failures are adressed > in vcl_error

Saint mode

Hi, We spoke briefly about in the Varnish meeting. Unfortunately I can not remember the conclusion(s), so I ask again: 1) How to check in vcl_recv if a request was restarted saintmode? You mentioned something about checking TTL? Does it matter if that request is handled with pass or lookup? I wan

Re: Fwd: Cache utilization?

In message <2af2dcee-6443-41c2-8be4-c338203f2...@gyldendal.dk>, =?iso-8859-1?Q? Lars_J=F8rgensen?= writes: >> I have: >> = >> n_lru_nuked 0 . N LRU nuked objects >> n_lru_saved 0 . N LRU saved objects >> n_lru_moved 3692590 .

Fwd: Cache utilization?

Sorry, the default reply-option set to go to the original author got me. Here's my reply for the benefit of the list. -- Lars > Fra: Lars Jørgensen > Dato: 18. nov 2009 14.08.07 CET > Til: Poul-Henning Kamp > Emne: Vedr.: Cache utilization? > > Den 18/11/2009 kl. 14.02 skrev Poul-Henning

Expires and Cache-Control stripped by varnish?

Hi, Another one that I'm trying to work out at the moment. I have enabled mod_expires in Apache and set a 24 hour expiration on css. When I request a page directly from the backend, a CSS object looks like this: Date: Wed, 18 Nov 2009 12:57:50 GMT Server: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch1

Re: Cache utilization?

In message , =?iso-8859-1?Q? Lars_J=F8rgensen?= writes: >Hi, > >Obvious question but I can't find the answer anywhere: How do I >know how much of my cache is utilized, i.e. is my cache file big >enough? You can see if it is too small, because you will get LRU kill activity in varnishstat. There i

Cache utilization?

Hi, Obvious question but I can't find the answer anywhere: How do I know how much of my cache is utilized, i.e. is my cache file big enough? -- Lars ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/li

Worker thread stack size

I have added a parameter to set the worker thread stack size. I suspect we can get away with something as low as maybe 64k + $sess_workspace, but I have absolutely no data to confirm or deny this claim. If a couple of you could spend a few minutes to examine actual stack sizes and report back, t

Strange behaviour

Hello, we are using varnish v2.0.4 in a setup with 4 backend servers. The varnish is configured to use the backends with loadbalancing in a round-robin fashion and all worked well until some days ago. Until we removed 2 of the backends we had a cache ratio (total requests compared to totalfetches)