Mailing List Archive

[master] 0dcdb5076 man: Weak Last-Modified headers are ignored
commit 0dcdb5076e08f47b47004d178f564616b6677e1d
Author: Dridi Boukelmoune <dridi.boukelmoune@gmail.com>
Date: Mon Nov 28 22:52:14 2022 +0100

man: Weak Last-Modified headers are ignored

diff --git a/doc/sphinx/reference/vcl_var.rst b/doc/sphinx/reference/vcl_var.rst
index 361801fe0..41bbe98db 100644
--- a/doc/sphinx/reference/vcl_var.rst
+++ b/doc/sphinx/reference/vcl_var.rst
@@ -1396,8 +1396,8 @@ resp.status
304 is sent.

Secondly, ``req.http.If-Modified-Since`` is compared against
- ``resp.http.Last-Modified`` or, if it is unset, against the
- point in time when the object was last modified based on the
+ ``resp.http.Last-Modified`` or, if it is unset or weak, against
+ the point in time when the object was last modified based on the
``Date`` and ``Age`` headers received with the backend
response which created the object. If the object has not been
modified based on that comparison, a 304 is sent.
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit