Model
Secure
Magento\Config\Model\Config\Backend\Secure
What it does
This backend model handles secure (HTTPS) configuration settings in Magento 2.
When secure URL configuration changes are saved, it automatically cleans merged/compiled JavaScript and CSS files to ensure assets are regenerated with the correct protocol.
Developers use this class to maintain asset integrity when switching between HTTP and HTTPS configurations.
Public Methods
- afterSave()