Closed (fixed)
Project:
Bunny CDN
Version:
1.1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 Jan 2024 at 16:11 UTC
Updated:
15 Feb 2024 at 13:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
roderikComment #4
roderikThe patch is just for our build system.
Given the second tagged-on functionality, maybe you want to change the commit message completely -- but that's up to you.
Comment #5
dieterholvoet commentedJust out of curiosity: why do you want to override the config this way? You know you can override config in settings.php, right?
Comment #7
dieterholvoet commentedMerged!
Comment #8
roderikThanks for the new release!
The answer is, its' just less confusing to override things in a child purger, at the moment:
...so on point 2, I'm now iterating through zones calling parent::invalidateTags() / parent::invalidateAll() while making sure that getPurgerSettings() returns a different zone ID in each iteration. It's slightly wonky code, but at this point still better than just copying this module's code into our setup. I think.