Add optional Environment setting

Created on 17 October 2023, about 1 year ago
Updated 16 May 2024, 7 months ago

Problem/Motivation

If you use the cache tags feature of this module and have multiple environments for your website such as development and production, then when cache tags are purged, they're purged for every environment/host in Cloudflare.

I've included a patch which provides an optional Environment setting. That is then prepended to each cache tag, to ensure cache tags are only purged for that one environment.

Remaining tasks

Review patch

Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom altcom_joel

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

Comments & Activities

Production build 0.71.5 2024