|
Hi, Can you guide me how to override the header in vcl_fetch. Regards, Mahesh. On Monday 22 March 2010 06:29 PM, Tollef Fog Heen wrote: ]] Mahesh Ollalwar | Is it possible to set obj.ttl to the value getting from a backend | response header. My application is calculating the TTL value and | setting a header "upstream-ttl". I'm using below syntax in vcl_fetch | but it's not working.No, you need to set it using something which is a number. This will be possible in a later version. If you can make the backend just set the Cache control header properly and then override the header in vcl_fetch, that should do the right thing. |
_______________________________________________ varnish-misc mailing list [email protected] http://lists.varnish-cache.org/mailman/listinfo/varnish-misc
