Closed lmakarov closed 5 years ago
We should make the header used for BAN requests configurable as there seems to be no standard for it.
X-Cache-Tags
Purge-Cache-Tags
X-Acquia-Purge-Tags
Cache-Tags
Let's call the variable VARNISH_CACHE_TAGS_HEADER and have Cache-Tags (as is now) as the default value.
VARNISH_CACHE_TAGS_HEADER
README should also be updated to mention this usage and configuration of this header.
Fixed in https://github.com/docksal/service-varnish/pull/25
We should make the header used for BAN requests configurable as there seems to be no standard for it.
X-Cache-Tags
header should be usedPurge-Cache-Tags
header by defaultX-Acquia-Purge-Tags
Cache-Tags
headerX-Cache-Tags
Let's call the variable
VARNISH_CACHE_TAGS_HEADER
and haveCache-Tags
(as is now) as the default value.README should also be updated to mention this usage and configuration of this header.