- Issue created by @jfowler
Semi recently (last few months) the way cache interacted with Zone Versioning Environments changed. In the before times, all Environments shared a single Cache bucket, which introduced its own slew of problems with tainting cache between the various Environments.
This has been updated to shard Cache into separate buckets per environment, but this broke how some Drupal users expected Cache Purge to work.
I recently did some work to the cloudflare-php sdk that allows for cachePurge and cachePurgeEverything to be environment aware.
Today, cache purge will only purge the Production Environment when Zone Versioning is enabled.
First, update the cloudflare/sdk package to version 1.4.
Second update the following locations to include environments in the cache purge.
Active
1.0
Code