From ef360e0b937bb8bf37c180cd10a106d1de508297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20R?= <289757+andrerom@users.noreply.github.com> Date: Mon, 13 Apr 2020 15:22:25 +0200 Subject: [PATCH 1/2] Add description on tags_header options when using xkey xkey-purge option where only described in `tag_mode` section. --- Resources/doc/reference/configuration/proxy-client.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Resources/doc/reference/configuration/proxy-client.rst b/Resources/doc/reference/configuration/proxy-client.rst index a0f4bdbb..60e105a0 100644 --- a/Resources/doc/reference/configuration/proxy-client.rst +++ b/Resources/doc/reference/configuration/proxy-client.rst @@ -127,6 +127,10 @@ default ``xkey-softpurge``. Header for sending tag invalidation requests to Varnish. +For use with ``tag_mode: purgekeys``, default VCL supports two options: +- ``xkey-softpurge``: "Soft purge" by tags, expires relevant cache and allows for grace handling. +- ``xkey-purge``: Purge by tags, removes relevant cache and allows for grace handling. + See the :ref:`FOSHttpCache library docs ` on how to configure Varnish to handle tag invalidation requests. From 374d8aeee26fee80b90e1d4200c7ec81d9376536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20R?= <289757+andrerom@users.noreply.github.com> Date: Mon, 13 Apr 2020 15:23:35 +0200 Subject: [PATCH 2/2] Update proxy-client.rst --- Resources/doc/reference/configuration/proxy-client.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/doc/reference/configuration/proxy-client.rst b/Resources/doc/reference/configuration/proxy-client.rst index 60e105a0..156e53ca 100644 --- a/Resources/doc/reference/configuration/proxy-client.rst +++ b/Resources/doc/reference/configuration/proxy-client.rst @@ -129,7 +129,7 @@ Header for sending tag invalidation requests to Varnish. For use with ``tag_mode: purgekeys``, default VCL supports two options: - ``xkey-softpurge``: "Soft purge" by tags, expires relevant cache and allows for grace handling. -- ``xkey-purge``: Purge by tags, removes relevant cache and allows for grace handling. +- ``xkey-purge``: Purge by tags, removes relevant cache immediately. See the :ref:`FOSHttpCache library docs ` on how to configure Varnish to handle tag invalidation requests.