Closed genebobmiller closed 3 years ago
Module https://www.drupal.org/project/varnish_purge still uses Cache-Tags
header. I believe X-Drupal-Cache-Tags
used for debugging. Also see https://www.drupal.org/docs/drupal-apis/cache-api/cache-tags-varnish
Thanks Chingis!
Enabling the Varnish Purger Tag
module added the necessary Cache-Tags header.
Using the Varnish Purge module with the following headers set:
Cache-Tags: [invalidation:expression] X-VC-Purge-Key:
never seems to invalidate.
I believe this is due to the wodby image vcl looking for the
Cache-Tags
header when drupal is returningX-Drupal-Cache-Tags
. The attached patch seems to fix the issue.