Skip to content

Add cache to ConfigManager#4570

Merged
demiankatz merged 3 commits into
vufind-org:devfrom
ThoWagen:pull-request/cache-in-config-manager
Aug 28, 2025
Merged

Add cache to ConfigManager#4570
demiankatz merged 3 commits into
vufind-org:devfrom
ThoWagen:pull-request/cache-in-config-manager

Conversation

@ThoWagen
Copy link
Copy Markdown
Contributor

This PR adds caching to the ConfigManager and also adds the useLocalConfig parameter to the getConfig method in preparation to move loading of YAML files to it.

Copy link
Copy Markdown
Member

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @ThoWagen, this looks pretty good to me, but see below for a few minor suggestions and one potentially more significant one.

Comment thread module/VuFind/src/VuFind/Config/ConfigManager.php
Comment thread module/VuFind/src/VuFind/Config/PluginFactory.php
Comment thread module/VuFind/src/VuFind/Config/PluginManager.php
Comment thread module/VuFind/src/VuFindTest/Integration/ConfigTestCase.php Outdated
Comment thread module/VuFind/src/VuFindTest/Integration/ConfigTestCase.php Outdated
@demiankatz demiankatz added this to the 11.0 milestone Aug 27, 2025
@demiankatz demiankatz added the architecture pull requests that involve significant refactoring / architectural changes label Aug 27, 2025
ThoWagen and others added 2 commits August 27, 2025 16:30
Copy link
Copy Markdown
Member

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @ThoWagen -- looks good to me, and tests are passing on my end as well. If you want to move forward with #4571, I think we're all set now.

@demiankatz demiankatz merged commit d8425ec into vufind-org:dev Aug 28, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

architecture pull requests that involve significant refactoring / architectural changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants