I'd like to be able to select the invalidation types this module actually responds to. In my use case, I want to use Tag purging for Varnish, but only allow URL purging on Cloudflare. If I use the Cloudflare purger, it will try to act on all of my tag purges as well.

Comments

rbayliss created an issue. See original summary.

rbayliss’s picture

Status: Active » Needs review
StatusFileSize
new5.24 KB

Here's a patch to add the functionality I'm talking about.

adam.weingarten’s picture

rbayliss,
Thanks so much for this patch! Sorry for the delay in responding. Was working to get some critical issues banged out.

I'm going to talk to nielsvm, the maintainer of purge about this. I actually think that this should be a purge setting. I can imagine a situation where someone can click the check marks on the purger page to turn different types of invalidation on/off. If we solve it as part of purge then akamai, fastly, keycdn plugins all benefit!

Please keep the good idea's coming!

adam.weingarten’s picture

I have opened up an enhancement request with purge here: https://www.drupal.org/node/2823591#comment-11755741

rbayliss’s picture

Nice! That makes sense. I agree it seems silly to have to replicate this functionality for every different purger, so it'd be great to see it handled upstream.

adam.weingarten’s picture

Status: Needs review » Closed (won't fix)

Given that this functionality has been documented over at purge with a new issue I'm going to close this issue.