[Varnish] #795: Conditional GETs based on modification time are not honored if Last-Modified was not explicitly set

Varnish varnish-bugs at varnish-cache.org
Thu Nov 4 11:41:14 CET 2010


#795: Conditional GETs based on modification time are not honored if Last-
Modified was not explicitly set
---------------------+------------------------------------------------------
  Reporter:  runa    |        Type:  defect
    Status:  closed  |    Priority:  normal
 Milestone:          |   Component:  build 
   Version:  2.0     |    Severity:  normal
Resolution:  fixed   |    Keywords:        
---------------------+------------------------------------------------------
Changes (by phk):

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


Comment:

 (In [5505]) Change how we do If-Modified-Since on objects without a Last-
 Modified
 header.

 Until now, we have not allowed IMS on objects without LM header but
 after due consideration of our role as web-server, that restriction is
 found too hard:  Varnish will, by definition, not find and object which
 is not valid, so we can trust the time we put it into the cache to
 be the LM date.

 But we can not synthesize a LM header based on this, as this would allow
 down-stream client-side caches to make unwarranted decisions (see RFC2616
 13.3.4 p88)

 Fixes: #795

-- 
Ticket URL: </ticket/795#comment:3>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list