[Varnish] #448: Allow caching with past-date Expires (without cache-control)

Varnish varnish-bugs at projects.linpro.no
Mon Mar 2 22:13:36 CET 2009


#448: Allow caching with past-date Expires (without cache-control)
----------------------+-----------------------------------------------------
 Reporter:  stonor    |        Owner:  tfheen
     Type:  defect    |       Status:  new   
 Priority:  normal    |    Milestone:        
Component:  varnishd  |      Version:  trunk 
 Severity:  normal    |   Resolution:        
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by tfheen):

 You can work around this by setting obj.cacheable to true as well as
 obj.ttl in vcl_fetch.

 The attached patch implements setting obj.cacheable automatically when
 obj.ttl is set.  It might get applied a bit later in the 2.1 cycle.

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


More information about the varnish-bugs mailing list