VarnishPlugin
Magento\PageCache\Model\App\FrontController\VarnishPlugin
What it does
This plugin intercepts the front controller's dispatch process to handle Varnish-specific HTTP response headers when Varnish caching is enabled.
It processes cache versioning information and adds a debug header in developer mode, ensuring proper integration between Magento and Varnish reverse proxy cache.
Developers would use this when implementing or customizing Varnish caching behavior for full page cache.
Public Methods
- afterDispatch()