> -----Message d'origine-----
> In message 
> <[EMAIL PROTECTED]>,
>  "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
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to