[master] 2c820c6c0 Changes: Mention ban_any_variant new default value

Walid Boudebouda walid.boudebouda at gmail.com
Wed Jul 9 15:47:06 UTC 2025


commit 2c820c6c0a2679f657adb2b9c6dcc531f113be81
Author: Walid Boudebouda <walid.boudebouda at gmail.com>
Date:   Wed Jul 9 17:45:01 2025 +0200

    Changes: Mention ban_any_variant new default value
    
    Refs #3352

diff --git a/doc/changes.rst b/doc/changes.rst
index 06e8d9036..a882f69ad 100644
--- a/doc/changes.rst
+++ b/doc/changes.rst
@@ -41,6 +41,15 @@ Varnish Cache NEXT (8.0, 2025-09-15)
 .. PLEASE keep this roughly in commit order as shown by git-log / tig
    (new to old)
 
+* The default value for ``ban_any_variant`` is now ``0``. This means that
+  during a lookup, only the matching variants of an object will be evaluated
+  against the ban list.
+
+  As a side effect, variants that are rarely requested may never get a chance
+  to be tested against ``req`` based bans, which can lead to an accumulation
+  of bans over time. In such cases, it is recommended to set
+  ``ban_any_variant`` to a higher value.
+
 * The VMOD function ``cookie.format_rfc1123()`` is now removed. It had been
   renamed to ``cookie.format_date()``.
 


More information about the varnish-commit mailing list