[Varnish] #1673: Date header not updated in cached response

Varnish varnish-bugs at varnish-cache.org
Mon Feb 9 08:50:20 CET 2015


#1673: Date header not updated in cached response
------------------------+--------------------
 Reporter:  ioppermann  |       Owner:
     Type:  defect      |      Status:  new
 Priority:  normal      |   Milestone:
Component:  build       |     Version:  4.0.2
 Severity:  normal      |  Resolution:
 Keywords:              |
------------------------+--------------------
Description changed by phk:

Old description:

> varnish4 does not update the Date: header on a cache hit.
>
> Example response:
>
> HTTP/1.1 200 OK
> Server: nginx
> Date: Thu, 05 Feb 2015 15:09:01 GMT
> Content-Type: image/jpeg
> Last-Modified: Thu, 05 Feb 2015 11:12:21 GMT
> ETag: "54d35015-48bc"
> Cache-Control: max-age=72200
> X-Varnish: 781994914 780477333
> Age: 2974
> Via: 1.1 varnish-v4
> X-Cache: HIT 2974 69226.381 imagestore2
> Content-Length: 18620
> Connection: close
>
> Time of request:
> Thu Feb  5 16:58:35 CET 2015
>

> This was already fixed back in varnish2: https://www.varnish-
> cache.org/trac/ticket/157

New description:

 varnish4 does not update the Date: header on a cache hit.

 Example response:
 {{{
 HTTP/1.1 200 OK
 Server: nginx
 Date: Thu, 05 Feb 2015 15:09:01 GMT
 Content-Type: image/jpeg
 Last-Modified: Thu, 05 Feb 2015 11:12:21 GMT
 ETag: "54d35015-48bc"
 Cache-Control: max-age=72200
 X-Varnish: 781994914 780477333
 Age: 2974
 Via: 1.1 varnish-v4
 X-Cache: HIT 2974 69226.381 imagestore2
 Content-Length: 18620
 Connection: close

 Time of request:
 Thu Feb  5 16:58:35 CET 2015
 }}}


 This was already fixed back in varnish2: https://www.varnish-
 cache.org/trac/ticket/157

--

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1673#comment:3>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list