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

V15: Clear elements cache instead of refreshing it #17708

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

nikolajlauridsen
Copy link
Contributor

Fixes #17685

In the new cache, we decided only to evict what was necessary from the elements cache, however, in NuCache we'd clear the elements cache entirely. This PR reverts the elements cache to its former behavior.

The reason for this is that published elements are not really entities in the normal sense, instead they only live as property data. This means that when a piece of content is republished we have no good way of know what published element keys should be evicted from the elements cache.

Testing

See the linked issue

@bergmania bergmania merged commit 380f3f7 into release/15.1 Dec 3, 2024
18 checks passed
@bergmania bergmania deleted the v15/hotfix/clear-elements-cache branch December 3, 2024 12:40
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.

2 participants