Return 304 status code

Poul-Henning Kamp phk at
Fri Jan 18 15:52:04 CET 2008

In message <c1dd32e40801180646g69f1f9b9v6610019955f4948c at>, "anda
n andan" writes:

>How can I configure Varnish to return 304 status code to the client when the
>object was not changed in base of cache headers like if-modified-since (or
>others). We want to avoid to send the object if the client has an updated

Varnish already handles if-modified-since correctly.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-misc mailing list