How to clear Varnish cache on CentOS
Use this command to clear the entire cache:
varnishadm "ban req.url ~ /"
Or restart the Varnish service:
service varnish restart
To reload Varnish config:
service varnish reload
To see Varnish statistics:
varnishstat