Use varnish to set one week expires header

Caunter, Stefan scaunter at
Thu Jul 29 19:40:20 CEST 2010

I have varnish sending cache-control and Expires headers in vcl_fetch.


Does anyone know of inline C to take the Last-Modified header and add a
week to it? The Expires date is currently hard-coded in the config which
is not ideal.


Stefan Caunter :: Senior Systems Administrator :: TOPS

e: scaunter at  ::  m: (416) 561-4871


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list