cloudflare-php icon indicating copy to clipboard operation
cloudflare-php copied to clipboard

Zones cachePurge > Add support for prefixes

Open pmcgoverncw opened this issue 4 years ago • 1 comments

The Cloudflare API supports cache purge by URL, Tags, Hosts, and Prefixes: https://api.cloudflare.com/#zone-purge-files-by-cache-tags,-host-or-prefix

This Bundle only supports URL, Tags, and Hosts. Please add support for Prefixes.

Without support for purging cache by prefixes, there is no way to delete all cache starting with the same URL+URI (ex: https://example.com/everything/in/this/dir/path)

pmcgoverncw avatar Mar 17 '21 17:03 pmcgoverncw

Note, there is an existing PR to address this, but it requires some refactoring to enable Ci to pass: https://github.com/cloudflare/cloudflare-php/pull/147/files

@spenserhale Is there any way you'd be willing to make the necessary changes?

@IcyApril is there any way to get priority on the PR listed above, once CI is passing?

pmcgoverncw avatar Mar 17 '21 17:03 pmcgoverncw