Closed (fixed)
Project:
Cloudflare Purger
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Jun 2026 at 10:59 UTC
Updated:
23 Jul 2026 at 13:45 UTC
Jump to comment: Most recent
The module has a configuration option for a cache tag prefix, however this needs to be manually configured per site.
Discussed with @lleber and @bkosborned in slack and we ended up with a settings key instead of config, to encourage per-install configuration (in case staging and prod share the same zone). And then a fallback to hash_salt when not configured.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
catchComment #4
bkosborneChange is good but lets get the tests updated now that I merged them in, too.
Comment #6
luke.leberComment #7
luke.leberAlright, back to NR - in addition to the test changes, I did rename the setting from
cloudfare_purger_cache_tag_prefixtocloudflare_purger_cache_tag_prefix-- which threw me for a much bigger loop than I would have thought possible.Comment #8
luke.leberComment #9
catchI also had to read this comment three times before I could spot the difference..
Comment #10
luke.leberThis looks great to me, FWIW. Rolling this out on Acquia hosting, I'd recommend setting something like this in the
settings.phpfile (for ACE).or
for ASF / MEO
or
on Pantheon hosting.
Comment #12
catchGave this another read through and I think it's the right approach. Committed/pushed to 1.0.x, thanks!