Log in
Model

GroupExcludedWebsiteCache

Magento\Customer\Model\Cache\GroupExcludedWebsiteCache

What it does

This class provides a runtime cache for storing and retrieving excluded website associations for customer groups.

Developers would use this to improve performance by avoiding repeated database queries when checking which websites are excluded for a specific customer group.

The cache is automatically cleared after each request through the ResetAfterRequestInterface.

Public Methods

  • addToCache()
  • getFromCache()
  • isCached()
  • invalidate()
  • _resetState()