[varnish] Defining varnish + proposals for the FAQ page
BUSTARRET, Jean-francois
jfbustarret at wat.tv
Mon Nov 26 09:31:36 CET 2007
> -----Message d'origine-----
> In message
> <53C652A09719C54DA24741D0157CB2695FF9C0 at TFPRDEXS1.tf1.groupetf1.fr>,
> "BUSTARRET, Jean-francois" writes:
>
> >How do I configure varnish to act like a classical reverse proxy ?
> >[new]
> >
> >Here is a sample VCL to do this :
[...]
> Also, if you want to make varnish behave as much as a RFC2616
> proxy as it can, you do not need a VCL program at all, that
> is, more or less exactly, what the default VCL code is
> written against: The Principle Of Least Astonishment.
>
> Poul-Henning
Well, that is not the case : the default VCL (and varnishd) does not support "Cache-control: no-cache/private" and "Pragma: no-cache" (which, IMHO, a "classical reverse proxy" should support)... So you need to add some VCL logic.
Otherwise, I totally agree with "The Principle Of Least Astonishment".
Jean-François
More information about the varnish-misc
mailing list