Previously Poul-Henning Kamp wrote:
> In message <[EMAIL PROTECTED]>, Audun Ytterdal writes:
> >Demitrious Kelly wrote:
> 
> >> So in the response to varnish I have set the Expires to be 1 month from
> >> the request, and in the vcl I'm doing the following:
> >>
> >> sub vcl_deliver {
> >>     remove resp.http.Expires;
> >>     remove resp.http.Cache-Control;
> >>     remove resp.http.Age;
> >>     set resp.http.Cache-Control = "max-age=600, proxy-revalidate";
> >>     set resp.http.Age = "0";
> >>     deliver;
> >> }
> >>
> 
> 
> >I would also like som sort of "max-age, only for varnish"-header.
> 
> Write up a proposal how it should work and lets look at it ?

Instead of 'only for varnish' a 'only for first proxy in path' would be
more generic and more explicit about the intention.

Wichert.

-- 
Wichert Akkerman <[EMAIL PROTECTED]>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to