Closed (duplicate)
Project:
Cloudflare
Version:
8.x-1.0-beta2
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 May 2018 at 17:05 UTC
Updated:
19 Jan 2023 at 08:27 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
les limHere's a patch that hacks CloudFlarePurger's URL invalidation mechanism, getting a list of zones from the API and separating the list of URLs into groups that can be run against each zone. It disregards the configured CloudFlare zone entirely.
This wouldn't be appropriate to include in the module as-is, but does demonstrate a possible approach.
Comment #3
gustavorf90 commented_
Comment #4
gustavorf90 commentedComment #5
gustavorf90 commentedComment #6
gustavorf90 commentedAdded a patch that hacks CloudFlare module add multiple zones (domains)
Zone field was textfield now it is select field. You can select multiple zones.
Comment #7
dishabhadra commentedI have created a patch for this feature using the following:
Comment #8
dishabhadra commentedAdding a new patch here which contains the following:
Rest all remains the same as per #7
Comment #9
abhaysaraf commentedhttps://www.drupal.org/project/cloudflare/issues/2915341#comment-13511327
Could be referred.
Comment #10
er.garg.karanI'm contributing a patch for the latest version with some major improvements in the original code.
Comment #11
er.garg.karanThe last patch saves empty zone ids when not provided for any of the language domains. Contributing a new patch to handle that problem.
Comment #12
rosk0Fixed in #2915341: Proposal to switch Cloudflare library.