Interface
VclGeneratorInterface
Magento\PageCache\Model\VclGeneratorInterface
What it does
This interface defines the contract for generating Varnish VCL (Varnish Configuration Language) configuration files in Magento 2.
Developers would implement this interface to create custom VCL generators that produce Varnish cache configuration based on Magento's full page cache requirements, allowing for different Varnish versions and custom configuration templates.
Public Methods
- generateVcl()