ContentCacheFlusher
class ContentCacheFlusher (View source)
This service flushes Fusion content caches triggered by node changes.
It is called when the projection changes: In this case, it is triggered by {\Neos\Neos\Fusion\Cache\GraphProjectorCatchUpHookForCacheFlushing} which calls this method.. This is the relevant case if publishing a workspace
- where we f.e. need to flush the cache for Live.
Properties
protected ContentCache | $contentCache | ||
protected LoggerInterface | $systemLogger |
Methods
Main entry point to directly flush the caches of a given NodeAggregate
Flush caches according to the previously registered node changes.
No description
Fetches possible usages of the asset and registers nodes that use the asset as changed.
Details
void
flushNodeAggregate(ContentRepository $contentRepository, ContentStreamId $contentStreamIdentifier, NodeAggregateId $nodeAggregateIdentifier)
Main entry point to directly flush the caches of a given NodeAggregate
protected void
flushTags(array $tagsToFlush)
Flush caches according to the previously registered node changes.
protected string[]
getAllImplementedNodeTypeNames(NodeType $nodeType)
No description
void
registerAssetChange(AssetInterface $asset)
Fetches possible usages of the asset and registers nodes that use the asset as changed.