PurgeVarnishCache Usage wfLoadExtension( 'PurgeVarnishCache' ); $wgInternalServer = 'http://localhost:8080'; //to your varnish