Log in
Model

Webapi

Magento\Webapi\Model\Cache\Type\Webapi

What it does

This class manages the Web Services Configuration cache type in Magento 2.

Developers use it to cache API configuration data and generate unique cache IDs based on user context (permissions, user type/ID) and store context.

It ensures API configurations are cached separately for different user types and stores, improving performance while maintaining security.

Public Methods

  • generateCacheIdUsingContext()