Skip to content

V15: Clear elements cache instead of refreshing it#17708

Merged
bergmania merged 1 commit intorelease/15.1from
v15/hotfix/clear-elements-cache
Dec 3, 2024
Merged

V15: Clear elements cache instead of refreshing it#17708
bergmania merged 1 commit intorelease/15.1from
v15/hotfix/clear-elements-cache

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
@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

Comments