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.
I would like to include the host header in acquia purge requests. Additionally, I would like to allow the specification of multiple domains for which to issue a purge request.
Comment | File | Size | Author |
---|---|---|---|
#1 | purge-add_host_header_to_acquia_purge_requests-1922778-1.patch | 2.06 KB | pdrake |
Comments
Comment #1
pdrake CreditAttribution: pdrake commentedI am marking this patch as needs work because it has not been extensively tested.
Comment #2
hefox CreditAttribution: hefox commentedCould you explain further the motivation of this patch? (Looking into an unrelated issue with acquia and purge so saw this. )
Comment #3
pdrake CreditAttribution: pdrake commentedWhen multiple varnish instances are being used (such as behind a balancer), each instance needs to be issued a PURGE request directly (via IP address or a unique hostname for that instance) to ensure that all cache entries are purged. Without the host header, the PURGE request will be made for the IP address or unique hostname used to reach the varnish instances, which will most likely not match the cache entries.
Comment #4
SqyD CreditAttribution: SqyD commentedI'm closing this off as this module no longer supporta Acquia platforms. Acquia Purge is now the recommend module.