Here’s varnish tips trick number 1
How to check varnish rule? Create a file (ie: check-varnish.sh) with this content:
#!/bin/bash
varnishd -C -f /etc/varnish/default.vcl
How to check top domain on multi domain varnish configuration? Create a file (ie: check-top-domain.sh) with this content:
#!/bin/bash
varnishtop -i RxHeader -C -I ^Host