Log in
Model

FlushCacheByCategoryIds

Magento\InventoryCache\Model\FlushCacheByCategoryIds

What it does

This class provides functionality to flush or clear Magento's cache for specific categories identified by their IDs.

Developers would use this when inventory changes occur that affect certain categories, ensuring that cached category data is refreshed so customers see accurate product availability and pricing information.

Public Methods

  • execute()