Cache Purge is not Environment aware

Created on 18 December 2024, 9 days ago

Problem/Motivation

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.

Steps to reproduce

Today, cache purge will only purge the Production Environment when Zone Versioning is enabled.

Proposed resolution

First, update the cloudflare/sdk package to version 1.4.
Second update the following locations to include environments in the cache purge.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024