Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently VarnishCache->clear()
uses _varnish_terminal_run(array('purge req.http.host ~ ' . $host . ' && req.url ~ "^' . $base . $purge . '$"'));
But instead it should use varnish_purge()
to ensure the command is varnish version aware.
Attached patch changes that.
Comment | File | Size | Author |
---|---|---|---|
varnish-cache-handler-isnt-full-version-aware.patch | 541 bytes | das-peter |
Comments
Comment #1
fabsor CreditAttribution: fabsor commentedGood catch! Missed that when porting the Drupal 6 code to Drupal 7, since that had no cache backend. Commited here:
http://drupal.org/commitlog/commit/11214/51f66150291d06f5d279d4c08808fd4...