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

[BUGFIX] Reduce the number of possible combinations of categorys #2378

Merged
merged 4 commits into from
Apr 24, 2024

Conversation

vertexvaar
Copy link
Contributor

Refer to the issue for more information

Fixes #2374

vertexvaar and others added 4 commits April 12, 2024 09:23
Fluid will take care of type casting if the ViewHelper is called non-statically, but does not convert any argument if it is called statically
… combinations

Each combination of category uids will result in a different cache hash. This means, that 1,3 and 3,1 are cached separately, although the order does not make a difference for the news listing.
Sorting the category uids ensures, that the number of possible combinations is as low as possible.

Fixes: georgringer#2374
@georgringer georgringer merged commit 24d5d7c into georgringer:main Apr 24, 2024
17 checks passed
@vertexvaar vertexvaar deleted the bugfix/2374-redundant-caches branch May 1, 2024 07:54
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.

Redundant caches when using ArgumentsViewHelper
2 participants