DeferCacheCleaning
Magento\Indexer\Model\Indexer\DeferCacheCleaning
What it does
This class is a plugin that intercepts cache tag registration operations during indexing.
It defers cache cleaning operations when the deferred cache context is active, allowing multiple cache operations to be batched together for better performance.
Developers use this automatically during indexing operations to optimize cache invalidation by deferring it until the indexing process completes.
Public Methods
- aroundRegisterEntities()
- aroundRegisterTags()