Checking http response codes.
Thomas Westlund
thomas.westlund at aftenposten.no
Wed May 30 09:04:46 CEST 2007
Hi,
Sorry this message got sent whith the wrong subject :/
On Wed, May 30, 2007 at 09:03:45AM +0200, Thomas Westlund wrote:
> 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
--
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