-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
TASK: 5243 remove ContentGraphFinder runtime cache #5246
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, thanks, but we should remove the implements WithMarkStaleInterface
if markStale()
is a no-op
b736d61
to
1ad4dd6
Compare
Ahh yes good catch, implemented. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks, +1 by reading
ps: force pushes make reviews harder :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test failure seems entirely unrelated, change looks good so ✅
With #5246 the cache was naively removed ^^ But with the additional complexity of fetching workspaces etc it makes sense to reintroduce this cache layer.
With neos/neos-development-collection#5246 the cache was naively removed ^^ But with the additional complexity of fetching workspaces etc it makes sense to reintroduce this cache layer.
In commit d57195d the cache invalidation was partly repaired But as we removed the content graph cache layer currently in 9.0 neos/neos-development-collection#5246 A reintroduction will be discussed as part of another change. Related neos/neos-development-collection#5039
With neos/neos-development-collection#5246 the cache was naively removed ^^ But with the additional complexity of fetching workspaces etc it makes sense to reintroduce this cache layer.
In commit c0ce2ba the cache invalidation was partly repaired But as we removed the content graph cache layer currently in 9.0 neos/neos-development-collection#5246 A reintroduction will be discussed as part of another change. Related neos/neos-development-collection#5039
With neos/neos-development-collection#5246 the cache was naively removed ^^ But with the additional complexity of fetching workspaces etc it makes sense to reintroduce this cache layer.
Followup to #5244
Related #5242
See #5243
With the removal of the cr core wrapped content subgraph with runtime cache feature and making it a Neos.Neos feature we dont have to cache the content graphs any further as well. (This was initially only done to ensure that the graphs subgraph pool is used)
The only downside to this is that calling
getContentGraph
will now always issue an sql query to get the underlying content stream id. The advantage obviously that its always the latest, but its not cached.