The Varnish Cache Purger allows the Blitz plugin for Craft CMS to intelligently purge cached pages on connected Varnish servers.
Install the plugin using composer and then install it.
composer require statikbe/craft-blitz-varnish
php craft plugin/install blitz-varnish
You can then select the purger and settings either in the control panel or in config/blitz.php
.
// The purger type to use.
'cachePurgerType' => 'statikbe\blitzvarnish\VarnishCachePurger',
How to configure Varnish Cache to work with Craft CMS and your specific project is beyond the scope of this plugin. You can find a basic example configuration here.
Created by statik.be.