Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward port "always decorate Symfonys config_cache_factory service with WfdMetaConfigCacheFactory" to master for 4.0.x (Case 171239) #46

Merged
merged 5 commits into from
May 15, 2024

Conversation

MalteWunsch
Copy link
Member

@MalteWunsch MalteWunsch commented May 15, 2024

Forward port of #45

…d always

The WfdMetaConfigCacheFactory creates a cache that checks its freshness by:
1. checking the "inner" cache with Symfony means
2. if that is still fresh, the WfdMetaConfigCache queries the wfd_meta table in regard to the registered wfdMeta-resources like a DoctrineEntityClassResource for a Page entity.

Previously, the decoration only took place when `always_expire_wfd_meta_resources` was not set. This effectively disabled checking the wfdMeta-resources, at least in production environments. (The fact that one probably shouldn't use this configuration setting in production is another story.)

This should not break anything, as the decoration used to happen always before the `always_expire_wfd_meta_resources` config setting was introduced in c7a2e2b.
"version = 3.9.0" seems slightly better than "3.14.0", as the deprecation was introduced (in another form) in 3.9.0 already.
…gcachefactory

Always decorate Symfonys `config_cache_factory` service with `WfdMetaConfigCacheFactory` (Case 171239)
@MalteWunsch MalteWunsch marked this pull request as ready for review May 15, 2024 15:54
@MalteWunsch MalteWunsch merged commit 31f42b6 into master May 15, 2024
5 checks passed
@MalteWunsch MalteWunsch deleted the 171239-forward-port-45-to-master branch May 15, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant