Model
Config
Magento\PageCache\Model\Config
What it does
This class manages Full Page Cache configuration settings in Magento 2, including cache type selection (built-in or Varnish), TTL settings, and Varnish VCL file generation.
Developers use it to retrieve cache configuration values and generate Varnish configuration files based on admin settings like backend host, port, access lists, and grace periods.
Public Methods
- getType()
- getTtl()
- getVclFile()
- isEnabled()