FlushCacheByProductIds
Magento\InventoryCache\Model\FlushCacheByProductIds
What it does
This model provides a way to flush Magento's cache for specific products when inventory changes occur.
Developers would use this class when they need to ensure product pages and related cache entries are invalidated after inventory updates, ensuring customers see accurate stock information.
It's typically invoked automatically by the InventoryCache module during inventory operations.
Public Methods
- execute()