Log in
Model

Cache

Magento\Config\Model\Config\Backend\Cache

What it does

This backend model automatically cleans specific cache tags when a configuration value is saved and changed in the Magento admin panel.

Developers extend this class when creating system configuration fields that require cache invalidation upon value changes, ensuring the application reflects the new configuration immediately without manual cache clearing.

Public Methods

  • afterSave()