My Varnish project

Thomas Westlund thomas.westlund at aftenposten.no
Wed May 30 09:03:45 CEST 2007


Hi,

If I would like to do a check based on the response code from the backend how can I do this in VCL

I would like to be able to not cache 404's or to set the timeout to a very low number for 404's.

I have checked the vcl man page, but I'm unable to find which statement to use for the if clause.

-- 

Thomas Westlund
Aftenposten AS, UNIX/nettverksavd.
Postboks 1, 0051 Oslo
Tlf: +47 98 20 30 33
Fax: +47 22 86 40 74



More information about the varnish-misc mailing list