[Varnish] #100: Setting the TTL does not adjust Expires: header

Varnish varnish-bugs at projects.linpro.no
Fri Jan 8 09:41:06 CET 2010


#100: Setting the TTL does not adjust Expires: header
----------------------+-----------------------------------------------------
 Reporter:  des       |        Owner:  phk   
     Type:  defect    |       Status:  closed
 Priority:  normal    |    Milestone:        
Component:  varnishd  |      Version:  trunk 
 Severity:  normal    |   Resolution:  fixed 
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by tfheen):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 You can now change it in VCL by just setting the Expires header to the
 value of ttl, like

 set resp.http.expires = obj.ttl

 Fixed in r4428.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/100#comment:4>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list