Problem/Motivation

It would be useful to be able to purge by host.

See https://developers.cloudflare.com/api/resources/cache/

Proposed resolution

1. Refactor the code so that it's possible to pass a "hosts" option: \Drupal\cloudflare_purge\Purge::purge` and \Drupal\cloudflare_purge\CloudflarePurgeCredentials::cfPurgeCache
2. create a form under /admin/config/cloudflare-purge to purge the current host
3. If #3246934: Drush command for purging cache is fixed, add a Drush command to purge by host

User interface changes

Update the form

Comments

malcomio created an issue. See original summary.

malcomio’s picture

Issue summary: View changes
flashwebcenter’s picture

Status: Active » Fixed

Thanks for the contribution. V2 is being retired, and v3 has been fully revamped with this feature included, so there will be no further releases for v2. Future changes should target v3.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.