[master] a95f496 Document the use of HitMiss and HitPass in VSL in What's New for 5.1.

Geoff Simmons geoff at uplex.de
Tue Mar 7 18:42:05 CET 2017


commit a95f496835e3b95be5fe1032884745d82f05b1ba
Author: Geoff Simmons <geoff at uplex.de>
Date:   Tue Mar 7 18:40:33 2017 +0100

    Document the use of HitMiss and HitPass in VSL in What's New for 5.1.

diff --git a/doc/sphinx/whats-new/upgrading-5.1.rst b/doc/sphinx/whats-new/upgrading-5.1.rst
index da898a2..7291736 100644
--- a/doc/sphinx/whats-new/upgrading-5.1.rst
+++ b/doc/sphinx/whats-new/upgrading-5.1.rst
@@ -16,10 +16,20 @@ vcl_backend_response
 Other changes
 =============
 
-* Added the ``cache_hitmiss`` stat to ``varnishstat(1)`` to count hits on
-  hit-for-miss objects.
+* ``varnishstat(1)``:
 
-* The ``cache_hitpass`` stat now only counts hits on hit-for-pass objects.
+  * Added the ``cache_hitmiss`` stat to  to count hits on
+    hit-for-miss objects.
 
-* An entry with the ``TTL`` tag and the prefix ``HFP`` is logged in
-  ``varnishlog(1)`` to record the duration set for hit-for-pass objects.
+  * The ``cache_hitpass`` stat now only counts hits on hit-for-pass
+    objects.
+
+* ``varnishlog(1)``:
+
+  * Hits on hit-for-miss and hit-for-pass objects are logged with
+    the ``HitMiss`` and ``HitPass`` tags, respectively. In each case,
+    the log payload is the VXID of the previous transaction in which
+    the object was saved in the cache (as with ``Hit``).
+
+  * An entry with the ``TTL`` tag and the prefix ``HFP`` is logged to
+    record the duration set for hit-for-pass objects.



More information about the varnish-commit mailing list