]] Roberto O. Fernández Crisial 

| I think I'm going crazy. I'm trying to cache some object but I'm getting
| beresp.ttl as negative value.
| 
| In vcl_fetch() I have:
| 
| unset beresp.http.Cache-Control;
| unset beresp.http.Expires;

These are evaluated before vcl_fetch, so you just need to set
beresp.ttl, not remove the headers.

Regards,
-- 
Tollef Fog Heen
Varnish Software
t: +47 21 98 92 64

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
  • Am I going crazy? Roberto O . Fernández Crisial
    • Re: Am I going crazy? Tollef Fog Heen

Reply via email to